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
This commit is contained in:
Drew Jaynes 2015-10-21 13:48:27 +00:00
parent 116f59af60
commit 6a51505a23
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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.