Theme Customizer: Use home_url instead of get_home_url. props nacin, fixes #20137, see #19910.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2012-02-29 23:28:13 +00:00
parent 8c1c5bc112
commit ea9d2e26af

View File

@ -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,
);