fix #573
This commit is contained in:
parent
cffff80b54
commit
4a72329bbe
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Scheduler {
|
||||||
$followers = Followers::get_outdated_followers( $number );
|
$followers = Followers::get_outdated_followers( $number );
|
||||||
|
|
||||||
foreach ( $followers as $follower ) {
|
foreach ( $followers as $follower ) {
|
||||||
$meta = get_remote_metadata_by_actor( $follower->get_url(), false );
|
$meta = get_remote_metadata_by_actor( $follower->get_id(), false );
|
||||||
|
|
||||||
if ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
|
if ( empty( $meta ) || ! is_array( $meta ) || is_wp_error( $meta ) ) {
|
||||||
Followers::add_error( $follower->get__id(), $meta );
|
Followers::add_error( $follower->get__id(), $meta );
|
||||||
|
|
Loading…
Reference in a new issue