From 9706b074c8448ac045799695c174f9f54674c475 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Apr 2015 21:45:14 +0000 Subject: [PATCH] Translator comment should just reference placeholder numbers, not the actual placeholders. see #31675. git-svn-id: https://develop.svn.wordpress.org/trunk@32112 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php index 319798ed76..48d7f90979 100644 --- a/src/wp-includes/widgets.php +++ b/src/wp-includes/widgets.php @@ -819,7 +819,7 @@ function register_sidebar($args = array()) { $sidebar = wp_parse_args( $args, $defaults ); if ( $id_is_empty ) { - /* translators: %1$s: the id argument, %2$s: sidebar name, %3$s: recommended id value */ + /* translators: 1: the id argument, 2: sidebar name, 3: recommended id value */ _doing_it_wrong( __FUNCTION__, sprintf( __( 'No %1$s was set in the arguments array for the "%2$s" sidebar. Defaulting to "%3$s". Manually set the %1$s to "%3$s" to silence this notice and keep existing sidebar content.' ), 'id', $sidebar['name'], $sidebar['id'] ), '4.2.0' ); }