diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php index 9351caa7bc214..605a4e984763e 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php @@ -406,8 +406,8 @@ public function get_item( $request ) { if ( (int) $parent->ID !== (int) $revision->post_parent ) { 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"' ), $request['id'] ), + /* translators: %d: A post revision id. */ + sprintf( __( 'Parent post does not have a revision with id of "%d"' ), $request['id'] ), array( 'status' => 404 ) ); }