Revert accidental removal of parse_url(). see #9008, props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@14430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c2b89e7330
commit
3d3322c1d6
@ -251,7 +251,7 @@ class WP_Http {
|
||||
$r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl';
|
||||
|
||||
// Determine if this request is to OUR install of WordPress
|
||||
$homeURL = home_url();
|
||||
$homeURL = parse_url( home_url() );
|
||||
$r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'];
|
||||
unset($homeURL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user