From 967fcbdc61f746bb5d359868e5f0e2f81a5e5fd1 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 13 Jul 2016 10:23:01 +0000 Subject: [PATCH] HTTP API: Remove duplicate documentation for the `http_api_debug` hook. Fixes #37081 git-svn-id: https://develop.svn.wordpress.org/trunk@38043 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-http.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index c5de3e01d4..692b499778 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -494,17 +494,7 @@ class WP_Http { $response = $transports[$class]->request( $url, $args ); - /** - * Fires after an HTTP API response is received and before the response is returned. - * - * @since 2.8.0 - * - * @param array|WP_Error $response HTTP response or WP_Error object. - * @param string $context Context under which the hook is fired. - * @param string $class HTTP transport used. - * @param array $args HTTP request arguments. - * @param string $url The request URL. - */ + /** This action is documented in wp-includes/class-http.php */ do_action( 'http_api_debug', $response, 'response', $class, $args, $url ); if ( is_wp_error( $response ) )