mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-23 14:54:33 +00:00
use homeurl(), props PeteMall, see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@14429 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 = parse_url(get_bloginfo('url'));
|
||||
$homeURL = home_url();
|
||||
$r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'];
|
||||
unset($homeURL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user