From 216fc034fbca2419249438d9775131358f15ef11 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 1 Apr 2015 23:06:28 +0000 Subject: [PATCH] Customizer Theme Switcher: Update JavaScript template after [31975]. see #31289. Built from https://develop.svn.wordpress.org/trunk@31976 git-svn-id: http://core.svn.wordpress.org/trunk@31955 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-control.php | 21 +++++---------------- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index a4ead63c0f..8308f4ae18 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/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 ) { #> -
- -
- <# } #> +
+ +