From d8f50fef8a67924ab5c44841a0dc4934cb1c762e Mon Sep 17 00:00:00 2001
From: Sergey Biryukov
Date: Fri, 30 Oct 2015 10:38:25 +0000
Subject: [PATCH] Don't use `` in translatable string in
`theme-compat/comments.php`.
Add translator comments.
Props ramiy.
See #34503.
Built from https://develop.svn.wordpress.org/trunk@35455
git-svn-id: http://core.svn.wordpress.org/trunk@35419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-includes/theme-compat/comments.php | 13 +++++++++++--
wp-includes/version.php | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/wp-includes/theme-compat/comments.php b/wp-includes/theme-compat/comments.php
index 78c1d1c1f7..617349a718 100644
--- a/wp-includes/theme-compat/comments.php
+++ b/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 ) ); ?>
+
diff --git a/wp-includes/version.php b/wp-includes/version.php
index db298a0734..e1e1bec9b1 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.4-beta2-35454';
+$wp_version = '4.4-beta2-35455';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.