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
This commit is contained in:
Dion Hulse 2015-07-20 01:46:24 +00:00
parent 432f9891f7
commit 412013a158
3 changed files with 4 additions and 4 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>

View File

@ -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.