Docs: Mark `WP_Http::_dispatch_request()` as deprecated. It's no longer used since [37428].
Fixes #43414. Built from https://develop.svn.wordpress.org/trunk@42766 git-svn-id: http://core.svn.wordpress.org/trunk@42596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b0ddd7ca43
commit
e786f9eb91
|
@ -545,6 +545,8 @@ class WP_Http {
|
||||||
* The order for requests is cURL, and then PHP Streams.
|
* The order for requests is cURL, and then PHP Streams.
|
||||||
*
|
*
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
|
* @deprecated 5.0.0 Use WP_Http::request()
|
||||||
|
* @see WP_Http::request()
|
||||||
*
|
*
|
||||||
* @param string $url URL to Request
|
* @param string $url URL to Request
|
||||||
* @param array $args Request arguments
|
* @param array $args Request arguments
|
||||||
|
@ -572,7 +574,7 @@ class WP_Http {
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** This action is documented in wp-includes/class-http.php */
|
/** This filter is documented in wp-includes/class-http.php */
|
||||||
return apply_filters( 'http_response', $response, $args, $url );
|
return apply_filters( 'http_response', $response, $args, $url );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-42765';
|
$wp_version = '5.0-alpha-42766';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue