From 08bea559498ec0869d150c801fc81b74724cbb2c Mon Sep 17 00:00:00 2001 From: dd32 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: http://svn.automattic.com/wordpress/trunk@18805 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;