Ticket #20222: 20222.diff
File 20222.diff, 506 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-http.php
1392 1392 1393 1393 $home = parse_url( get_option('siteurl') ); 1394 1394 1395 $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home ); 1396 if ( ! is_null( $result ) ) 1397 return $result; 1398 1395 1399 if ( $check['host'] == 'localhost' || $check['host'] == $home['host'] ) 1396 1400 return false; 1397 1401