Update includes/class-migration.php

Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
Matthias Pfefferle 2023-04-28 18:13:16 +02:00 committed by GitHub
parent a673504d36
commit 9cd33ad544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ class Migration {
*/
public static function migrate_to_1_0_0() {
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
$followes = get_user_meta( $user_id, 'activitypub_followers', true );
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
if ( $followes ) {
foreach ( $followes as $follower ) {