Make WordPress Core


Ignore:
Timestamp:
10/18/2021 11:13:32 AM (3 years ago)
Author:
johnbillion
Message:

REST API: Correct the order of the parameters documented for WP_REST_Server::respond_to_request().

See #53399

File:
1 edited

Legend:

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

    r51289 r51915  
    10781078     *
    10791079     * @param WP_REST_Request $request  The request object.
     1080     * @param string          $route    The matched route regex.
    10801081     * @param array           $handler  The matched route handler.
    1081      * @param string          $route    The matched route regex.
    10821082     * @param WP_Error|null   $response The current error object if any.
    10831083     * @return WP_REST_Response
Note: See TracChangeset for help on using the changeset viewer.