Docs: Improve the return description in the DocBlock for `rest_send_allow_header()`.

Props danielbachhuber.
Fixes #34374.


git-svn-id: https://develop.svn.wordpress.org/trunk@35324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-10-21 13:47:12 +00:00
parent bc2a538b1a
commit 86794324c7
1 changed files with 1 additions and 1 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();