Make WordPress Core

Ticket #20222: 20222.diff

File 20222.diff, 506 bytes (added by dd32, 12 years ago)
  • wp-includes/class-http.php

     
    13921392
    13931393                $home = parse_url( get_option('siteurl') );
    13941394
     1395                $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );
     1396                if ( ! is_null( $result ) )
     1397                        return $result;
     1398
    13951399                if ( $check['host'] == 'localhost' || $check['host'] == $home['host'] )
    13961400                        return false;
    13971401