From 534386fcafde6ff2b7160783edea30c743fe5468 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 20 Jul 2015 01:45:08 +0000 Subject: [PATCH] Allow HTML/entities in the Active Theme Name in the themes.php & Customizer templates. Props iCaleb Fixes #33036 git-svn-id: https://develop.svn.wordpress.org/trunk@33327 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/themes.php | 2 +- src/wp-includes/class-wp-customize-control.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 38b0f6c873..49e22af3e0 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -331,7 +331,7 @@ $can_delete = current_user_can( 'delete_themes' );

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

<# } else { #> diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php index aaf3a2458b..cda1bda639 100644 --- a/src/wp-includes/class-wp-customize-control.php +++ b/src/wp-includes/class-wp-customize-control.php @@ -1419,11 +1419,11 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {

Active: %s' ), '{{ data.theme.name }}' ); + printf( __( 'Active: %s' ), '{{{ data.theme.name }}}' ); ?>

<# } else { #> -

{{ data.theme.name }}

+

{{{ data.theme.name }}}