Docs: Update since
annotation for new $url
parameter for several HTTP related filters.
Introduced in [42682]. Fixes #42186. git-svn-id: https://develop.svn.wordpress.org/trunk@44397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
47116930ee
commit
ce6fc7a8f4
@ -153,7 +153,7 @@ class WP_Http {
|
||||
* Filters the timeout value for an HTTP request.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param int $timeout_value Time in seconds until a request times out. Default 5.
|
||||
* @param string $url The request URL.
|
||||
@ -163,7 +163,7 @@ class WP_Http {
|
||||
* Filters the number of redirects allowed during an HTTP request.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param int $redirect_count Number of redirects allowed. Default 5.
|
||||
* @param string $url The request URL.
|
||||
@ -173,7 +173,7 @@ class WP_Http {
|
||||
* Filters the version of the HTTP protocol used in a request.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
|
||||
* @param string $url The request URL.
|
||||
@ -183,7 +183,7 @@ class WP_Http {
|
||||
* Filters the user agent value sent with an HTTP request.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param string $user_agent WordPress user agent string.
|
||||
* @param string $url The request URL.
|
||||
@ -193,7 +193,7 @@ class WP_Http {
|
||||
* Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
|
||||
*
|
||||
* @since 3.6.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param bool $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
|
||||
* @param string $url The request URL.
|
||||
@ -358,7 +358,7 @@ class WP_Http {
|
||||
* Filters whether SSL should be verified for non-local requests.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param bool $ssl_verify Whether to verify the SSL connection. Default true.
|
||||
* @param string $url The request URL.
|
||||
|
@ -97,7 +97,7 @@ class WP_Http_Streams {
|
||||
* Filters whether SSL should be verified for local requests.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 5.0.0 The `$url` parameter was added.
|
||||
* @since 5.1.0 The `$url` parameter was added.
|
||||
*
|
||||
* @param bool $ssl_verify Whether to verify the SSL connection. Default true.
|
||||
* @param string $url The request URL.
|
||||
|
Loading…
Reference in New Issue
Block a user