From b15919c8dd7e4085b854b03a352db497a39f114a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Feb 2018 03:47:14 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-http.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index 13475c5c22..b8cc4ee4fa 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -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 ); }