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:
Sergey Biryukov 2015-07-03 22:29:25 +00:00
parent 340f1e121e
commit bcc1670ed6
2 changed files with 5 additions and 9 deletions

View File

@ -401,11 +401,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
<h3 class="accordion-section-title"> <h3 class="accordion-section-title">
<?php <?php
if ( $this->manager->is_theme_active() ) { if ( $this->manager->is_theme_active() ) {
/* translators: %s: theme name */ echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
} else { } else {
/* translators: %s: theme name */ echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
} }
?> ?>
@ -420,11 +418,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
<h3 class="accordion-section-title customize-section-title"> <h3 class="accordion-section-title customize-section-title">
<?php <?php
if ( $this->manager->is_theme_active() ) { if ( $this->manager->is_theme_active() ) {
/* translators: %s: theme name */ echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> ' . $this->title;
printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title );
} else { } else {
/* translators: %s: theme name */ echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> ' . $this->title;
printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title );
} }
?> ?>
<button type="button" class="button customize-theme"><?php _e( 'Customize' ); ?></button> <button type="button" class="button customize-theme"><?php _e( 'Customize' ); ?></button>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.