Commit 4ee72eed1c for wordpress.org

commit 4ee72eed1c5143e0a1a9d440c379282e5f13e256
Author: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
Date:   Fri Oct 30 13:39:57 2026 +0000

    REST API: Don't list the `data_processing` settings in the index.

    The root index, the namespace indexes and OPTIONS responses listed the resolved `data_processing` settings of every endpoint that turns a feature off. The option configures how the server processes a response, so the index does not need to describe it.

    Follow-up to [64689].

    Props jorgefilipecosta, gziolo, sadmansakibnadvi.
    See #66372.
    Built from https://develop.svn.wordpress.org/trunk@65046


    git-svn-id: http://core.svn.wordpress.org/trunk@64196 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php
index ed583cc900..612b00e780 100644
--- a/wp-includes/rest-api/class-wp-rest-server.php
+++ b/wp-includes/rest-api/class-wp-rest-server.php
@@ -1861,12 +1861,6 @@ class WP_REST_Server {
 				$endpoint_data['allow_batch'] = $callback_batch;
 			}

-			$data_processing = self::resolve_data_processing( $callback, $route_options );
-
-			if ( in_array( false, $data_processing, true ) ) {
-				$endpoint_data['data_processing'] = $data_processing;
-			}
-
 			if ( isset( $callback['args'] ) ) {
 				$endpoint_data['args'] = array();

diff --git a/wp-includes/version.php b/wp-includes/version.php
index 29aa6dd443..5216b2f0cb 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta3-65045';
+$wp_version = '7.2-beta3-65046';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.