From 2bebc88b785fedbd644424b3415e120f97fae36e Mon Sep 17 00:00:00 2001 From: Django Date: Fri, 5 May 2023 11:47:52 -0600 Subject: [PATCH] fix undefined get_remote_metadata_by_actor Not tested --- includes/class-migration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-migration.php b/includes/class-migration.php index 1e8c44b..53d3770 100644 --- a/includes/class-migration.php +++ b/includes/class-migration.php @@ -59,7 +59,7 @@ class Migration { $followers = get_user_meta( $user_id, 'activitypub_followers', true ); if ( $followers ) { - foreach ( $followers as $follower ) { + foreach ( $followers as $actor ) { $meta = get_remote_metadata_by_actor( $actor ); $follower = new Follower( $actor );