Customizer: Remove HTML tags from two translatable strings.
props henrikakselsen. fixes #32817. Built from https://develop.svn.wordpress.org/trunk@33078 git-svn-id: http://core.svn.wordpress.org/trunk@33049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
340f1e121e
commit
bcc1670ed6
|
@ -401,11 +401,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
|
|||
<h3 class="accordion-section-title">
|
||||
<?php
|
||||
if ( $this->manager->is_theme_active() ) {
|
||||
/* translators: %s: theme name */
|
||||
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
|
||||
echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
|
||||
} else {
|
||||
/* translators: %s: theme name */
|
||||
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
|
||||
echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -420,11 +418,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
|
|||
<h3 class="accordion-section-title customize-section-title">
|
||||
<?php
|
||||
if ( $this->manager->is_theme_active() ) {
|
||||
/* translators: %s: theme name */
|
||||
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
|
||||
echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
|
||||
} else {
|
||||
/* translators: %s: theme name */
|
||||
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
|
||||
echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
|
||||
}
|
||||
?>
|
||||
<button type="button" class="button customize-theme"><?php _e( 'Customize' ); ?></button>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta1-33077';
|
||||
$wp_version = '4.3-beta1-33078';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue