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
This commit is contained in:
Dion Hulse 2011-09-29 01:42:09 +00:00
parent 440ea79d5e
commit 36f2e9a22f

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;