mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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: http://svn.automattic.com/wordpress/trunk@14455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3d76f61923
commit
0ad32e0c61
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user