From 1bd0df76cf12fb13cd8da29eea2912de959b5dc6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Feb 2018 21:31:26 +0000 Subject: [PATCH] Docs: Remove duplicated DocBlock for `http_response` hook in `WP_Http::_dispatch_request()`. The filter is already documented in `WP_Http::request()`. See #42505. git-svn-id: https://develop.svn.wordpress.org/trunk@42750 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-http.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index 3ad335f25b..4b17376b07 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -574,15 +574,7 @@ class WP_Http { return $response; } - /** - * Filters the HTTP API response immediately before the response is returned. - * - * @since 2.9.0 - * - * @param array $response HTTP response. - * @param array $args HTTP request arguments. - * @param string $url The request URL. - */ + /** This action is documented in wp-includes/class-http.php */ return apply_filters( 'http_response', $response, $args, $url ); }