--- a/wp/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php Wed Sep 21 18:19:35 2022 +0200
@@ -27,7 +27,7 @@
}
/**
- * Registers the routes for the objects of the controller.
+ * Registers the routes for post statuses.
*
* @since 4.7.0
*
@@ -268,14 +268,14 @@
}
/**
- * Filters a status returned from the REST API.
+ * Filters a post status returned from the REST API.
*
* Allows modification of the status data right before it is returned.
*
* @since 4.7.0
*
* @param WP_REST_Response $response The response object.
- * @param object $status The original status object.
+ * @param object $status The original post status object.
* @param WP_REST_Request $request Request used to generate the response.
*/
return apply_filters( 'rest_prepare_status', $response, $status, $request );