--- 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' ) ),
);
}
-
}