Ticket #20137: 20137.patch
File 20137.patch, 619 bytes (added by , 13 years ago) |
---|
-
wp-includes/customize-controls.php
80 80 81 81 do_action( 'customize_controls_print_footer_scripts' ); 82 82 83 // Check current scheme and load the preview with the same scheme 84 $scheme = is_ssl() ? 'https' : 'http'; 83 85 $settings = array( 84 'preview' => esc_url( home_url( '/') ),86 'preview' => esc_url( get_home_url( null, '/', $scheme ) ), 85 87 'values' => array(), 86 88 'prefix' => WP_Customize_Setting::name_prefix, 87 89 );