fix phpcs
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
This commit is contained in:
parent
bf16ba56ec
commit
35fa38b6b7
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class Migration {
|
||||||
// migrate followers
|
// migrate followers
|
||||||
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
||||||
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
||||||
|
|
||||||
if ( $followers ) {
|
if ( $followers ) {
|
||||||
foreach ( $followers as $actor ) {
|
foreach ( $followers as $actor ) {
|
||||||
$follower_id = Followers::add_follower( $actor );
|
$follower_id = Followers::add_follower( $actor );
|
||||||
|
|
Loading…
Reference in a new issue