WordPress.org

Make WordPress Core

Changeset 35324


Ignore:
Timestamp:
10/21/2015 01:47:12 PM (5 years ago)
Author:
DrewAPicture
Message:

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

Props danielbachhuber.
Fixes #34374.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/rest-functions.php

    r35323 r35324  
    450450 * @param WP_REST_Server   $server   ResponseHandler instance (usually WP_REST_Server).
    451451 * @param WP_REST_Request  $request  The request that was used to make current response.
    452  * @return WP_REST_Response Current response being served.
     452 * @return WP_REST_Response Response to be served, with "Allow" header if route has allowed methods.
    453453 */
    454454function rest_send_allow_header( $response, $server, $request ) {
Note: See TracChangeset for help on using the changeset viewer.