diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php --- a/wp/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php Fri Sep 05 18:40:08 2025 +0200 @@ -222,6 +222,7 @@ public function prepare_item_for_response( $item, $request ) { // Restores the more descriptive, specific name for use within this method. $status = $item; + $fields = $this->get_fields_for_response( $request ); $data = array(); @@ -369,5 +370,4 @@ 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); } - }