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:
Sergey Biryukov 2018-02-28 03:48:30 +00:00
parent b0ddd7ca43
commit e786f9eb91
2 changed files with 4 additions and 2 deletions

View File

@ -545,6 +545,8 @@ class WP_Http {
* The order for requests is cURL, and then PHP Streams.
*
* @since 3.2.0
* @deprecated 5.0.0 Use WP_Http::request()
* @see WP_Http::request()
*
* @param string $url URL to Request
* @param array $args Request arguments
@ -572,7 +574,7 @@ class WP_Http {
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 );
}

View File

@ -4,7 +4,7 @@
*
* @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.