Changeset 11835 for trunk/wp-includes/http.php
- Timestamp:
- 08/16/2009 10:43:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r11759 r11835 119 119 } 120 120 121 if ( has_filter('http_transport_get_debug') ) 122 do_action('http_transport_get_debug', $working_transport, $blocking_transport, $nonblocking_transport); 121 do_action( 'http_transport_get_debug', $working_transport, $blocking_transport, $nonblocking_transport ); 123 122 124 123 if ( isset($args['blocking']) && !$args['blocking'] ) … … 167 166 } 168 167 169 if ( has_filter('http_transport_post_debug') ) 170 do_action('http_transport_post_debug', $working_transport, $blocking_transport, $nonblocking_transport); 168 do_action( 'http_transport_post_debug', $working_transport, $blocking_transport, $nonblocking_transport ); 171 169 172 170 if ( isset($args['blocking']) && !$args['blocking'] ) … … 301 299 } 302 300 303 if ( has_action('http_api_debug') ) 304 do_action('http_api_debug', $transports, 'transports_list'); 301 do_action( 'http_api_debug', $transports, 'transports_list' ); 305 302 306 303 $response = array( 'headers' => array(), 'body' => '', 'response' => array('code' => false, 'message' => false), 'cookies' => array() ); … … 308 305 $response = $transport->request($url, $r); 309 306 310 if ( has_action('http_api_debug') ) 311 do_action( 'http_api_debug', $response, 'response', get_class($transport) ); 307 do_action( 'http_api_debug', $response, 'response', get_class($transport) ); 312 308 313 309 if ( ! is_wp_error($response) )
Note: See TracChangeset
for help on using the changeset viewer.