From fff36156c20183bbd3d32be51514b7700b5d577c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 Oct 2015 10:39:02 +0000 Subject: [PATCH] Don't use `` in translatable strings in `theme-compat/sidebar.php`. Add translator comments. Props ramiy. Fixes #34503. git-svn-id: https://develop.svn.wordpress.org/trunk@35458 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme-compat/sidebar.php | 73 ++++++++++++++++++------ 1 file changed, 54 insertions(+), 19 deletions(-) diff --git a/src/wp-includes/theme-compat/sidebar.php b/src/wp-includes/theme-compat/sidebar.php index fc529c9a4b..f879ec4d41 100644 --- a/src/wp-includes/theme-compat/sidebar.php +++ b/src/wp-includes/theme-compat/sidebar.php @@ -7,7 +7,14 @@ * This file is here for Backwards compatibility with old themes and will be removed in a future version * */ -_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) ); +_deprecated_file( + /* translators: %s: template name */ + sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), + '3.0', + null, + /* translators: %s: template name */ + sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) ) +); ?>