mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 21:48:36 +01:00
Docs: Update since
annotation for new $url
parameter for several HTTP related filters.
Introduced in [42682]. Fixes #42186. Built from https://develop.svn.wordpress.org/trunk@44397 git-svn-id: http://core.svn.wordpress.org/trunk@44227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f8f58da317
commit
4e3e9ca9cf
@ -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.
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44396';
|
||||
$wp_version = '5.1-alpha-44397';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user