Make WordPress Core


Ignore:
Timestamp:
08/27/2018 02:27:22 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve various inline documentation.

See #42505

File:
1 edited

Legend:

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

    r43571 r43582  
    905905                 * @since 4.7.0
    906906                 *
    907                  * @param WP_HTTP_Response $response Result to send to the client. Usually a WP_REST_Response.
    908                  * @param WP_REST_Server   $handler  ResponseHandler instance (usually WP_REST_Server).
    909                  * @param WP_REST_Request  $request  Request used to generate the response.
     907                 * @param WP_HTTP_Response|WP_Error $response Result to send to the client. Usually a WP_REST_Response or WP_Error.
     908                 * @param array                     $handler  Route handler used for the request.
     909                 * @param WP_REST_Request           $request  Request used to generate the response.
    910910                 */
    911911                $response = apply_filters( 'rest_request_before_callbacks', $response, $handler, $request );
     
    933933                     * @since 4.5.0 Added `$route` and `$handler` parameters.
    934934                     *
    935                      * @param bool            $dispatch_result Dispatch result, will be used if not empty.
     935                     * @param mixed           $dispatch_result Dispatch result, will be used if not empty.
    936936                     * @param WP_REST_Request $request         Request used to generate the response.
    937937                     * @param string          $route           Route matched for the request.
     
    964964                 * @since 4.7.0
    965965                 *
    966                  * @param WP_HTTP_Response $response Result to send to the client. Usually a WP_REST_Response.
    967                  * @param WP_REST_Server   $handler  ResponseHandler instance (usually WP_REST_Server).
    968                  * @param WP_REST_Request  $request  Request used to generate the response.
     966                 * @param WP_HTTP_Response|WP_Error $response Result to send to the client. Usually a WP_REST_Response or WP_Error.
     967                 * @param array                     $handler  Route handler used for the request.
     968                 * @param WP_REST_Request           $request  Request used to generate the response.
    969969                 */
    970970                $response = apply_filters( 'rest_request_after_callbacks', $response, $handler, $request );
Note: See TracChangeset for help on using the changeset viewer.