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

@ -89,7 +89,12 @@ class Comment_Command extends \WP_CLI_Command {
\WP_CLI::error( 'This comment was received via ActivityPub and cannot be deleted or updated.' );
}
add_to_outbox( $comment, 'Update', $comment->user_id );
$result = add_to_outbox( $comment, 'Update', $comment->user_id );
if ( \is_wp_error( $result ) ) {
\WP_CLI::error( $result->get_error_message() );
}
\WP_CLI::success( '"Update" activity is queued.' );
}
}