Skip to content

Commit

Permalink
Remove specific mention of "post" to discern between other post types…
Browse files Browse the repository at this point in the history
…, e.g., "template"
  • Loading branch information
ramonjd committed Dec 21, 2023
1 parent c5f48bd commit 139f6ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public function get_item( $request ) {
if ( (int) $parent->ID !== (int) $revision->post_parent ) {
return new WP_Error(
'rest_revision_parent_id_mismatch',
/* translators: %d: A post revision id. */
/* translators: %d: A post id. */
sprintf( __( 'The revision does not belong to the specified parent with id of "%d"' ), $parent->ID ),
array( 'status' => 404 )
);
Expand Down

0 comments on commit 139f6ca

Please sign in to comment.