From 6a51505a23cca7327bbc7b19927a85446f86d507 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 21 Oct 2015 13:48:27 +0000 Subject: [PATCH] Docs: Improve the return description in the DocBlock for `rest_send_allow_header()`. Props danielbachhuber. Fixes #34374. Built from https://develop.svn.wordpress.org/trunk@35324 git-svn-id: http://core.svn.wordpress.org/trunk@35290 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/rest-functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/rest-functions.php b/wp-includes/rest-api/rest-functions.php index d0e7cc0f99..947efce90e 100644 --- a/wp-includes/rest-api/rest-functions.php +++ b/wp-includes/rest-api/rest-functions.php @@ -449,7 +449,7 @@ function rest_handle_options_request( $response, $handler, $request ) { * @param WP_REST_Response $response Current response being served. * @param WP_REST_Server $server ResponseHandler instance (usually WP_REST_Server). * @param WP_REST_Request $request The request that was used to make current response. - * @return WP_REST_Response Current response being served. + * @return WP_REST_Response Response to be served, with "Allow" header if route has allowed methods. */ function rest_send_allow_header( $response, $server, $request ) { $matched_route = $response->get_matched_route(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 75aa255351..b860f1e974 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35323'; +$wp_version = '4.4-alpha-35324'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.