Make WordPress Core


Ignore:
Timestamp:
07/23/2020 07:59:16 PM (5 years ago)
Author:
johnbillion
Message:

Docs: First pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48462 r48586  
    510510     * @since 3.2.0
    511511     *
    512      * @param array $args Request arguments.
    513      * @param string $url URL to Request.
     512     * @param array  $args Request arguments.
     513     * @param string $url  URL to request.
    514514     * @return string|false Class name for the first transport that claims to support the request.
    515515     *                      False if no transport claims to support the request.
     
    560560     * @see WP_Http::request()
    561561     *
    562      * @param string $url URL to Request.
    563      * @param array $args Request arguments.
     562     * @param string $url  URL to request.
     563     * @param array  $args Request arguments.
    564564     * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
    565565     *                        A WP_Error instance upon error.
     
    616616     * @since 2.7.0
    617617     *
    618      * @param string $url The request URL.
     618     * @param string       $url The request URL.
    619619     * @param string|array $args Optional. Override the defaults.
    620620     * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
     
    634634     * @since 2.7.0
    635635     *
    636      * @param string $url The request URL.
     636     * @param string       $url The request URL.
    637637     * @param string|array $args Optional. Override the defaults.
    638638     * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
     
    676676     *
    677677     * @param string|array $headers
    678      * @param string $url The URL that was requested.
     678     * @param string       $url    The URL that was requested.
    679679     * @return array Processed string headers. If duplicate headers are encountered,
    680680     *               then a numbered array is returned as the value of that header-key.
Note: See TracChangeset for help on using the changeset viewer.