From bd9cdde1eb0b181a670edd6495f464285a1a1d18 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Feb 2018 21:32:30 +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. Built from https://develop.svn.wordpress.org/trunk@42750 git-svn-id: http://core.svn.wordpress.org/trunk@42580 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-http.php | 10 +--------- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 3ad335f25b..4b17376b07 100644 --- a/wp-includes/class-http.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index f8a8730a6e..5900ee767f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42749'; +$wp_version = '5.0-alpha-42750'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.