WordPress.org

Make WordPress Core

Changeset 44397


Ignore:
Timestamp:
01/04/2019 09:57:06 PM (3 years ago)
Author:
desrosj
Message:

Docs: Update since annotation for new $url parameter for several HTTP related filters.

Introduced in [42682].

Fixes #42186.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r44346 r44397  
    154154             *
    155155             * @since 2.7.0
    156              * @since 5.0.0 The `$url` parameter was added.
     156             * @since 5.1.0 The `$url` parameter was added.
    157157             *
    158158             * @param int    $timeout_value Time in seconds until a request times out. Default 5.
     
    164164             *
    165165             * @since 2.7.0
    166              * @since 5.0.0 The `$url` parameter was added.
     166             * @since 5.1.0 The `$url` parameter was added.
    167167             *
    168168             * @param int    $redirect_count Number of redirects allowed. Default 5.
     
    174174             *
    175175             * @since 2.7.0
    176              * @since 5.0.0 The `$url` parameter was added.
     176             * @since 5.1.0 The `$url` parameter was added.
    177177             *
    178178             * @param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
     
    184184             *
    185185             * @since 2.7.0
    186              * @since 5.0.0 The `$url` parameter was added.
     186             * @since 5.1.0 The `$url` parameter was added.
    187187             *
    188188             * @param string $user_agent WordPress user agent string.
     
    194194             *
    195195             * @since 3.6.0
    196              * @since 5.0.0 The `$url` parameter was added.
     196             * @since 5.1.0 The `$url` parameter was added.
    197197             *
    198198             * @param bool   $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
     
    359359         *
    360360         * @since 2.8.0
    361          * @since 5.0.0 The `$url` parameter was added.
     361         * @since 5.1.0 The `$url` parameter was added.
    362362         *
    363363         * @param bool   $ssl_verify Whether to verify the SSL connection. Default true.
  • trunk/src/wp-includes/class-wp-http-streams.php

    r43571 r44397  
    9898             *
    9999             * @since 2.8.0
    100              * @since 5.0.0 The `$url` parameter was added.
     100             * @since 5.1.0 The `$url` parameter was added.
    101101             *
    102102             * @param bool   $ssl_verify Whether to verify the SSL connection. Default true.
Note: See TracChangeset for help on using the changeset viewer.