From 8334945146ab7e85511eaaee4da5e8e383f6a588 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov
Date: Fri, 30 Oct 2015 10:37:09 +0000
Subject: [PATCH] Don't use `` in translatable string in
`theme-compat/comments.php`.
Add translator comments.
Props ramiy.
See #34503.
git-svn-id: https://develop.svn.wordpress.org/trunk@35455 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-includes/theme-compat/comments.php | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/wp-includes/theme-compat/comments.php b/src/wp-includes/theme-compat/comments.php
index 78c1d1c1f7..617349a718 100644
--- a/src/wp-includes/theme-compat/comments.php
+++ b/src/wp-includes/theme-compat/comments.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__ ) )
+);
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
@@ -79,7 +86,9 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.
-%2$s
.'), get_edit_user_link(), $user_identity); ?>
+%2$s', get_edit_user_link(), $user_identity ) ); ?>
+