diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php index 04da85b9cc..e55d3a3729 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php @@ -244,7 +244,7 @@ class WP_REST_Autosaves_Controller extends WP_REST_Revisions_Controller { $parent_id = (int) $request->get_param( 'parent' ); if ( $parent_id <= 0 ) { - return new WP_Error( 'rest_post_invalid_id', __( 'Invalid parent post ID.' ), array( 'status' => 404 ) ); + return new WP_Error( 'rest_post_invalid_id', __( 'Invalid post parent ID.' ), array( 'status' => 404 ) ); } $autosave = wp_get_post_autosave( $parent_id ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ca41fd523b..8b1a917949 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45443'; +$wp_version = '5.3-alpha-45444'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.