updated plugin ActivityPub version 9.1.0

This commit is contained in:
2026-07-28 15:03:10 +00:00
committed by Gitium
parent bf428f0e45
commit ff806e1811
217 changed files with 6098 additions and 3025 deletions

View File

@ -80,7 +80,12 @@ class Post_Command extends \WP_CLI_Command {
\WP_CLI::error( 'Post not found.' );
}
add_to_outbox( $post, 'Update', $post->post_author );
$result = add_to_outbox( $post, 'Update', $post->post_author );
if ( \is_wp_error( $result ) ) {
\WP_CLI::error( $result->get_error_message() );
}
\WP_CLI::success( '"Update" activity is queued.' );
}
}