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
This commit is contained in:
dd32 2011-09-29 01:42:09 +00:00
parent e30854e968
commit 08bea55949
1 changed files with 1 additions and 1 deletions

View File

@ -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;