From ad9de4547cdba36567eb609e716dcd4aac4e3e38 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 18 Oct 2021 11:13:32 +0000 Subject: [PATCH] REST API: Correct the order of the parameters documented for `WP_REST_Server::respond_to_request()`. See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@51915 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rest-api/class-wp-rest-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php index 490b057c24..55f0ce6fc8 100644 --- a/src/wp-includes/rest-api/class-wp-rest-server.php +++ b/src/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 */