Ticket #9008: 9008.6.diff
File 9008.6.diff, 730 bytes (added by , 14 years ago) |
---|
-
wp-includes/class-http.php
251 251 $r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl'; 252 252 253 253 // Determine if this request is to OUR install of WordPress 254 $homeURL = home_url();254 $homeURL = parse_url( home_url() ); 255 255 $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host']; 256 256 unset($homeURL); 257 257 … … 1999 1999 function is_available() { 2000 2000 return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') ); 2001 2001 } 2002 } 2003 No newline at end of file 2002 }