Docs: Mark WP_Http::_dispatch_request() as deprecated. It's no longer used since [37428].

Fixes #43414.

git-svn-id: https://develop.svn.wordpress.org/trunk@42766 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-02-28 03:47:14 +00:00
parent 617a87f114
commit b15919c8dd

View File

@ -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 );
} }