From 0ad32e0c61043035bfb59ff1a243f17b88b0d861 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 4 May 2010 21:41:45 +0000 Subject: [PATCH] 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 --- wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index e1e9cce29e..fe26206735 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -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( home_url() ); + $homeURL = parse_url( get_bloginfo('url') ); $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host']; unset($homeURL);