PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.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/cli/class-comment-command.php +1 -6 9.3.08.0.2 View file →
@@ -88,13 +88,8 @@
88 88 if ( was_comment_received( $comment ) ) {
89 89 \WP_CLI::error( 'This comment was received via ActivityPub and cannot be deleted or updated.' );
90 90 }
91 91
92 - $result = add_to_outbox( $comment, 'Update', $comment->user_id );
93 -
94 - if ( \is_wp_error( $result ) ) {
95 - \WP_CLI::error( $result->get_error_message() );
96 - }
97 -
92 + add_to_outbox( $comment, 'Update', $comment->user_id );
98 93 \WP_CLI::success( '"Update" activity is queued.' );
99 94 }
100 95 }