Make WordPress Core


Ignore:
Timestamp:
10/18/2017 04:37:08 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct type and description for the $data parameter in WP_Http::browser_redirect_compatibility().

Fixes #41380.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r41562 r41907  
    459459     * @param string            $location URL to redirect to.
    460460     * @param array             $headers  Headers for the redirect.
    461      * @param mixed             $data     The data to add to the cache.
     461     * @param string|array      $data     Body to send with the request.
    462462     * @param array             $options  Redirect request options.
    463463     * @param Requests_Response $original Response object.
Note: See TracChangeset for help on using the changeset viewer.