From 00b914db0868927bfa8247484ca83b9420fac5e2 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 18 Oct 2021 11:14:57 +0000 Subject: [PATCH] REST API: Correct the order of the parameters documented for `WP_REST_Server::respond_to_request()`. See #53399 Built from https://develop.svn.wordpress.org/trunk@51915 git-svn-id: http://core.svn.wordpress.org/trunk@51508 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/class-wp-rest-server.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 490b057c24..55f0ce6fc8 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -1077,8 +1077,8 @@ class WP_REST_Server { * @since 5.6.0 * * @param WP_REST_Request $request The request object. - * @param array $handler The matched route handler. * @param string $route The matched route regex. + * @param array $handler The matched route handler. * @param WP_Error|null $response The current error object if any. * @return WP_REST_Response */ diff --git a/wp-includes/version.php b/wp-includes/version.php index e914caa0dd..a7b986719d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51914'; +$wp_version = '5.9-alpha-51915'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.