WordPress.org

Make WordPress Core

Ticket #42186: 42186.2.diff

File 42186.2.diff, 3.0 KB (added by audrasjb, 3 years ago)

Update @since to 5.0.3

  • src/wp-includes/class-http.php

    diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php
    index a554708..5e5a59f 100644
    a b class WP_Http { 
    153153                         * Filters the timeout value for an HTTP request.
    154154                         *
    155155                         * @since 2.7.0
    156                          * @since 5.0.0 The `$url` parameter was added.
     156                         * @since 5.0.3 The `$url` parameter was added.
    157157                         *
    158158                         * @param int    $timeout_value Time in seconds until a request times out. Default 5.
    159159                         * @param string $url           The request URL.
    class WP_Http { 
    163163                         * Filters the number of redirects allowed during an HTTP request.
    164164                         *
    165165                         * @since 2.7.0
    166                          * @since 5.0.0 The `$url` parameter was added.
     166                         * @since 5.0.3 The `$url` parameter was added.
    167167                         *
    168168                         * @param int    $redirect_count Number of redirects allowed. Default 5.
    169169                         * @param string $url            The request URL.
    class WP_Http { 
    173173                         * Filters the version of the HTTP protocol used in a request.
    174174                         *
    175175                         * @since 2.7.0
    176                          * @since 5.0.0 The `$url` parameter was added.
     176                         * @since 5.0.3 The `$url` parameter was added.
    177177                         *
    178178                         * @param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
    179179                         * @param string $url     The request URL.
    class WP_Http { 
    183183                         * Filters the user agent value sent with an HTTP request.
    184184                         *
    185185                         * @since 2.7.0
    186                          * @since 5.0.0 The `$url` parameter was added.
     186                         * @since 5.0.3 The `$url` parameter was added.
    187187                         *
    188188                         * @param string $user_agent WordPress user agent string.
    189189                         * @param string $url        The request URL.
    class WP_Http { 
    193193                         * Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
    194194                         *
    195195                         * @since 3.6.0
    196                          * @since 5.0.0 The `$url` parameter was added.
     196                         * @since 5.0.3 The `$url` parameter was added.
    197197                         *
    198198                         * @param bool   $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
    199199                         * @param string $url      The request URL.
    class WP_Http { 
    358358                 * Filters whether SSL should be verified for non-local requests.
    359359                 *
    360360                 * @since 2.8.0
    361                  * @since 5.0.0 The `$url` parameter was added.
     361                 * @since 5.0.3 The `$url` parameter was added.
    362362                 *
    363363                 * @param bool   $ssl_verify Whether to verify the SSL connection. Default true.
    364364                 * @param string $url        The request URL.
  • src/wp-includes/class-wp-http-streams.php

    diff --git a/src/wp-includes/class-wp-http-streams.php b/src/wp-includes/class-wp-http-streams.php
    index 7079c0a..3edad42 100644
    a b class WP_Http_Streams { 
    9797                         * Filters whether SSL should be verified for local requests.
    9898                         *
    9999                         * @since 2.8.0
    100                          * @since 5.0.0 The `$url` parameter was added.
     100                         * @since 5.0.3 The `$url` parameter was added.
    101101                         *
    102102                         * @param bool   $ssl_verify Whether to verify the SSL connection. Default true.
    103103                         * @param string $url        The request URL.