Customizer: Remove HTML tags from two translatable strings.
props henrikakselsen. fixes #32817. git-svn-id: https://develop.svn.wordpress.org/trunk@33078 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
45e6228070
commit
313c416f6c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user