Skip to content

Commit

Permalink
Update projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/cla…
Browse files Browse the repository at this point in the history
…ss-wpcom-rest-api-v2-endpoint-send-email-preview.php

Co-authored-by: Damián Suárez <[email protected]>
  • Loading branch information
lezama and retrofox authored Jun 1, 2023
1 parent da01c5f commit 3a57e43
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 3a57e43

Please sign in to comment.