From 36f2e9a22f059b725494b9d59ea04690f5d0fbf7 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Thu, 29 Sep 2011 01:42:09 +0000 Subject: [PATCH] Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732 git-svn-id: https://develop.svn.wordpress.org/trunk@18805 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index fceff23608..9e2458cb71 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -253,7 +253,7 @@ class WP_Http { $response = $transports[$class]->request( $url, $args ); - do_action( 'http_api_debug', $response, 'response', $class ); + do_action( 'http_api_debug', $response, 'response', $class, $args, $url ); if ( is_wp_error( $response ) ) return $response;