From 8738b08b2e32b6112a31578857626db6cc483b24 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Jan 2020 14:25:13 +0000 Subject: [PATCH] I18N: Remove unnecessary HTML from "Active:" strings in `wp-admin/themes.php`. Follow-up to [45435]. Props ramiy. Fixes #49243. git-svn-id: https://develop.svn.wordpress.org/trunk@47090 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/themes.php | 10 ++-------- .../customize/class-wp-customize-theme-control.php | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index ccd918eae9..244f573ce6 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -342,10 +342,7 @@ foreach ( $themes as $theme ) :

- Active: %s' ), $theme['name'] ); - ?> +

@@ -509,10 +506,7 @@ if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) {
<# if ( data.active ) { #>

- Active: %s' ), '{{{ data.name }}}' ); - ?> + {{{ data.name }}}

<# } else { #>

{{{ data.name }}}

diff --git a/src/wp-includes/customize/class-wp-customize-theme-control.php b/src/wp-includes/customize/class-wp-customize-theme-control.php index 09ba8103af..10f09d180b 100644 --- a/src/wp-includes/customize/class-wp-customize-theme-control.php +++ b/src/wp-includes/customize/class-wp-customize-theme-control.php @@ -110,7 +110,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control { <# if ( data.theme.active ) { #>

- {{ data.theme.name }} + {{ data.theme.name }}