Update includes/class-migration.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
parent
a673504d36
commit
9cd33ad544
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Migration {
|
||||||
*/
|
*/
|
||||||
public static function migrate_to_1_0_0() {
|
public static function migrate_to_1_0_0() {
|
||||||
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
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 ) {
|
if ( $followes ) {
|
||||||
foreach ( $followes as $follower ) {
|
foreach ( $followes as $follower ) {
|
||||||
|
|
Loading…
Reference in a new issue