Skip to content

Commit

Permalink
make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama committed Jun 1, 2023
1 parent 6566e60 commit 0b0bf2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function permissions_check( $request ) {

if ( $post && ! current_user_can( 'edit_post', $post->ID ) ) {
return new WP_Error(
'rest_cannot_send_email_preview',
'rest_forbidden_context',
__( 'Please connect your user account to WordPress.com', 'jetpack' ),
array( 'status' => rest_authorization_required_code() )
);
Expand Down

0 comments on commit 0b0bf2f

Please sign in to comment.