From 1adca958e3dc4538328ca232aaeb2226dedaabfd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Jan 2020 14:27:04 +0000 Subject: [PATCH] I18N: Remove unnecessary HTML from "Active:" strings in `wp-admin/themes.php`. Follow-up to [45435]. Props ramiy. Fixes #49243. Built from https://develop.svn.wordpress.org/trunk@47090 git-svn-id: http://core.svn.wordpress.org/trunk@46890 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 10 ++-------- .../customize/class-wp-customize-theme-control.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index ccd918eae9..244f573ce6 100644 --- a/wp-admin/themes.php +++ b/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/wp-includes/customize/class-wp-customize-theme-control.php b/wp-includes/customize/class-wp-customize-theme-control.php index 09ba8103af..10f09d180b 100644 --- a/wp-includes/customize/class-wp-customize-theme-control.php +++ b/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 }}

diff --git a/wp-includes/version.php b/wp-includes/version.php index ce30a1d4ba..a243c55c27 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47089'; +$wp_version = '5.4-alpha-47090'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.