Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008.

git-svn-id: https://develop.svn.wordpress.org/trunk@14455 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-04 21:41:45 +00:00
parent 14c06f5e81
commit 8d6694a68d

View File

@ -251,7 +251,7 @@ class WP_Http {
$r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl'; $r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl';
// Determine if this request is to OUR install of WordPress // Determine if this request is to OUR install of WordPress
$homeURL = parse_url( home_url() ); $homeURL = parse_url( get_bloginfo('url') );
$r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host']; $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'];
unset($homeURL); unset($homeURL);