From f6e4d76e5b71ca20390edb3f81cde9e1cedcbb2d Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 1 Apr 2015 23:05:41 +0000 Subject: [PATCH] Customizer Theme Switcher: Update JavaScript template after [31975]. see #31289. git-svn-id: https://develop.svn.wordpress.org/trunk@31976 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-wp-customize-control.php | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php index a4ead63c0f..8308f4ae18 100644 --- a/src/wp-includes/class-wp-customize-control.php +++ b/src/wp-includes/class-wp-customize-control.php @@ -1202,7 +1202,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control { public function content_template() { $preview_url = site_url( add_query_arg( 'theme', '{{ data.theme.id }}' ) ); ?> -
tabindex="0"<# } #> data-preview-url="" aria-describedby="{{ data.theme.id }}-action {{ data.theme.id }}-name"> +
<# if ( data.theme.screenshot[0] ) { #>
@@ -1213,22 +1213,11 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {
- <# if ( data.theme.active ) { #> -

- Previewing: %s' ), '{{ data.theme.name }}' ); - ?> -

- <# } else { #> -

{{ data.theme.name }}

- <# } #> +

{{ data.theme.name }}

- <# if ( ! data.theme.active ) { #> -
- -
- <# } #> +
+ +