From 313c416f6c9a7634b69033488ca8f4c83ee9c077 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 3 Jul 2015 22:28:29 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-section.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/wp-includes/class-wp-customize-section.php b/src/wp-includes/class-wp-customize-section.php index 2c4db4ef4b..82541878ba 100644 --- a/src/wp-includes/class-wp-customize-section.php +++ b/src/wp-includes/class-wp-customize-section.php @@ -401,11 +401,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {

manager->is_theme_active() ) { - /* translators: %s: theme name */ - printf( __( 'Active theme %s' ), $this->title ); + echo '' . __( 'Active theme' ) . ' ' . $this->title; } else { - /* translators: %s: theme name */ - printf( __( 'Previewing theme %s' ), $this->title ); + echo '' . __( 'Previewing theme' ) . ' ' . $this->title; } ?> @@ -420,11 +418,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {

manager->is_theme_active() ) { - /* translators: %s: theme name */ - printf( __( 'Active theme %s' ), $this->title ); + echo '' . __( 'Active theme' ) . ' ' . $this->title; } else { - /* translators: %s: theme name */ - printf( __( 'Previewing theme %s' ), $this->title ); + echo '' . __( 'Previewing theme' ) . ' ' . $this->title; } ?>