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
This commit is contained in:
Dion Hulse 2015-07-20 01:45:08 +00:00
parent e690aa50ad
commit 534386fcaf
2 changed files with 3 additions and 3 deletions

View File

@ -331,7 +331,7 @@ $can_delete = current_user_can( 'delete_themes' );
<h3 class="theme-name" id="{{ data.id }}-name">
<?php
/* translators: %s: theme name */
printf( __( '<span>Active:</span> %s' ), '{{ data.name }}' );
printf( __( '<span>Active:</span> %s' ), '{{{ data.name }}}' );
?>
</h3>
<# } else { #>

View File

@ -1419,11 +1419,11 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {
<h3 class="theme-name" id="{{ data.theme.id }}-name">
<?php
/* translators: %s: theme name */
printf( __( '<span>Active:</span> %s' ), '{{ data.theme.name }}' );
printf( __( '<span>Active:</span> %s' ), '{{{ data.theme.name }}}' );
?>
</h3>
<# } else { #>
<h3 class="theme-name" id="{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
<h3 class="theme-name" id="{{ data.theme.id }}-name">{{{ data.theme.name }}}</h3>
<div class="theme-actions">
<button type="button" class="button theme-details"><?php _e( 'Theme Details' ); ?></button>
</div>