PluginProbe
ActivityPub / 7.8.2
ActivityPub v7.8.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/class-move.php +2 -9 8.2.07.8.2 View file →
@@ -223,17 +223,10 @@
223 223 // Call Move::internally for this actor.
224 224 $result = self::internally( $old_actor_id, $actor_id );
225 225
226 226 if ( \is_wp_error( $result ) ) {
227 - /**
228 - * Fires when an actor move fails during domain change.
229 - *
230 - * @since 8.1.0
231 - *
232 - * @param \WP_Error $result The error that occurred.
233 - * @param string $actor_id The actor ID that failed to move.
234 - */
235 - \do_action( 'activitypub_move_failed', $result, $actor_id );
227 + // Log the error and continue with the next actor.
228 + Debug::write_log( 'Error moving actor: ' . $actor_id . ' - ' . $result->get_error_message() );
236 229 continue;
237 230 }
238 231
239 232 $json = str_replace( $to_host, $from_host, $actor->to_json() );