diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php
index 9be8e75..1e29989 100644
|
a
|
b
|
class WP_Customize_Theme_Control extends WP_Customize_Control { |
| 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 | $_url = parse_url( admin_url() ); |
| | 1246 | $preview_url = $_url['scheme'] . '://' . $_url['host']; |
| | 1247 | if ( $_url['port'] ) { |
| | 1248 | $preview_url .= ':' . $_url['port']; |
| | 1249 | } |
| | 1250 | $preview_url .= add_query_arg( 'theme', '{{ data.theme.id }}' ); |
| 1246 | 1251 | ?> |
| 1247 | 1252 | <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 | 1253 | <# if ( data.theme.screenshot[0] ) { #> |