Skip to content

Commit

Permalink
Update error message in class-wp-rest-revisions-controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Nov 13, 2023
1 parent 6e3fd40 commit 9f528bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public function get_item( $request ) {
return new WP_Error(
'rest_post_invalid_parent',
/* translators: %s: A post revision id. */
sprintf( __( 'Parent post does not have a revision with id of "%s"' ), $revision->post_parent ),
sprintf( __( 'Parent post does not have a revision with id of "%s"' ), $request['id'] ),
array( 'status' => 404 )
);
}
Expand Down

0 comments on commit 9f528bf

Please sign in to comment.