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