Ticket #31896: 31896.2.diff
| File 31896.2.diff, 816 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/class-wp-customize-control.php
1242 1242 * @access public 1243 1243 */ 1244 1244 public function content_template() { 1245 $preview_url = site_url( add_query_arg( 'theme', '{{ data.theme.id }}' ) ); 1245 $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 1246 $preview_url = add_query_arg( 'theme', '{{ data.theme.id }}', $current_url ); 1246 1247 ?> 1247 1248 <div class="theme" tabindex="0" data-preview-url="<?php echo esc_attr( $preview_url ); ?>" aria-describedby="{{ data.theme.id }}-action {{ data.theme.id }}-name"> 1248 1249 <# if ( data.theme.screenshot[0] ) { #>