Make WordPress Core


Ignore:
Timestamp:
09/11/2024 12:06:15 PM (14 months ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements and corrections.

See #61608

File:
1 edited

Legend:

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

    r57936 r59009  
    146146     *
    147147     * }
    148      * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
    149      *                        A WP_Error instance upon error.
     148     * @return array|WP_Error {
     149     *     Array of response data, or a WP_Error instance upon error.
     150     *
     151     *     @type \WpOrg\Requests\Utility\CaseInsensitiveDictionary $headers       Response headers keyed by name.
     152     *     @type string                                            $body          Response body.
     153     *     @type array                                             $response      {
     154     *         Array of HTTP response data.
     155     *
     156     *         @type int|false    $code    HTTP response status code.
     157     *         @type string|false $message HTTP response message.
     158     *     }
     159     *     @type WP_HTTP_Cookie[]                                  $cookies       Array of cookies set by the server.
     160     *     @type string|null                                       $filename      Optional. Filename of the response.
     161     *     @type WP_HTTP_Requests_Response|null                    $http_response Response object.
     162     * }
    150163     */
    151164    public function request( $url, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.