Ticket #20222: 20222-2.patch
File 20222-2.patch, 644 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-http.php
1343 1343 1344 1344 $home = parse_url( get_option('siteurl') ); 1345 1345 1346 if ( $check['host'] == 'localhost' || $check['host'] == $home['host'] ) 1347 return false; 1346 if ( $check['host'] == 'localhost' || $check['host'] == $home['host'] ) { 1347 $func = apply_filters( 'proxy_local_urls_callback' , '__return_false' ); 1348 $ret = call_user_func( $func, $uri ); 1349 return $ret; 1350 } 1348 1351 1349 1352 if ( !defined('WP_PROXY_BYPASS_HOSTS') ) 1350 1353 return true;