From 82c8fbcf8e2070222dbc163dcf1dc543768b3d2e Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 29 Feb 2012 23:28:13 +0000 Subject: [PATCH] Theme Customizer: Use home_url instead of get_home_url. props nacin, fixes #20137, see #19910. git-svn-id: https://develop.svn.wordpress.org/trunk@20057 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/customize-controls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/customize-controls.php b/wp-includes/customize-controls.php index c6d6a5106d..5beaacd39f 100644 --- a/wp-includes/customize-controls.php +++ b/wp-includes/customize-controls.php @@ -83,7 +83,7 @@ do_action( 'customize_controls_print_scripts' ); // Check current scheme and load the preview with the same scheme $scheme = is_ssl() ? 'https' : 'http'; $settings = array( - 'preview' => esc_url( get_home_url( null, '/', $scheme ) ), + 'preview' => esc_url( home_url( '/', $scheme ) ), 'values' => array(), 'prefix' => WP_Customize_Setting::name_prefix, );