Skip to content

Commit

Permalink
[not verified] Update projects/plugins/jetpack/_inc/lib/core-api/wpco…
Browse files Browse the repository at this point in the history
…m-endpoints/class-wpcom-rest-api-v2-endpoint-send-email-preview.php

Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
  • Loading branch information
lezama and retrofox committed Jun 1, 2023
1 parent 0eba0f9 commit 7faf279
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function permissions_check( $request ) {
);
}

$post = get_post( $request['id'] );
$post = get_post( $request->get_param( 'id' ) );

if ( is_wp_error( $post ) ) {
return $post;
Expand Down

0 comments on commit 7faf279

Please sign in to comment.