WordPress.org

Make WordPress Core

Changeset 18805


Ignore:
Timestamp:
09/29/2011 01:42:09 AM (9 years ago)
Author:
dd32
Message:

Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r18718 r18805  
    254254        $response = $transports[$class]->request( $url, $args );
    255255
    256         do_action( 'http_api_debug', $response, 'response', $class );
     256        do_action( 'http_api_debug', $response, 'response', $class, $args, $url );
    257257
    258258        if ( is_wp_error( $response ) )
Note: See TracChangeset for help on using the changeset viewer.