From 412013a1589df453e82335f6d0b7b7cac6301280 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 20 Jul 2015 01:46:24 +0000 Subject: [PATCH] Allow HTML/entities in the Active Theme Name in the themes.php & Customizer templates. Props iCaleb Fixes #33036 Built from https://develop.svn.wordpress.org/trunk@33327 git-svn-id: http://core.svn.wordpress.org/trunk@33299 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 2 +- wp-includes/class-wp-customize-control.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 38b0f6c873..49e22af3e0 100644 --- a/wp-admin/themes.php +++ b/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/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index aaf3a2458b..cda1bda639 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/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 }}}

diff --git a/wp-includes/version.php b/wp-includes/version.php index 998530c8b2..159f7f2e87 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta3-33325'; +$wp_version = '4.3-beta3-33327'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.