Make WordPress Core


Ignore:
Timestamp:
05/15/2021 05:36:49 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #52628.

File:
1 edited

Legend:

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

    r49805 r50916  
    2525     * @since 2.8.0
    2626     * @since 3.2.0 Updated to use a PHP5 constructor.
    27      * @since 5.6.1 Multiple headers are concatenated into a comma-separated string, rather than remaining
    28      *              an array.
     27     * @since 5.6.1 Multiple headers are concatenated into a comma-separated string,
     28     *              rather than remaining an array.
    2929     *
    3030     * @param string       $url             Remote file URL.
     
    7171
    7272                /*
    73                  * SimplePie expects multiple headers to be stored as a comma-separated string, but
    74                  * `wp_remote_retrieve_headers()` returns them as an array, so they need to be
    75                  * converted.
     73                 * SimplePie expects multiple headers to be stored as a comma-separated string,
     74                 * but `wp_remote_retrieve_headers()` returns them as an array, so they need
     75                 * to be converted.
    7676                 *
    77                  * The only exception to that is the `content-type` header, which should ignore any
    78                  * previous values and only use the last one.
     77                 * The only exception to that is the `content-type` header, which should ignore
     78                 * any previous values and only use the last one.
    7979                 *
    8080                 * @see SimplePie_HTTP_Parser::new_line().
Note: See TracChangeset for help on using the changeset viewer.