This commit is contained in:
Matthias Pfefferle 2023-11-29 10:47:31 +01:00
parent cffff80b54
commit 4a72329bbe

View file

@ -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 );