From d3f117c81c7b73e5afc88471fd2a3f43f24729ff Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Nov 2015 21:17:11 +0000 Subject: [PATCH] I18N: Add a translator comment for the string introduced in [24758] and made translatable in [29840]. Props swissspidy. See #34249. git-svn-id: https://develop.svn.wordpress.org/trunk@35544 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/wp-db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php index 61492745e7..22fa6aa475 100644 --- a/src/wp-includes/wp-db.php +++ b/src/wp-includes/wp-db.php @@ -1132,6 +1132,7 @@ class wpdb { $class = get_class( $this ); if ( function_exists( '__' ) ) { + /* translators: %s: database access abstraction class, usually wpdb or a class extending wpdb */ _doing_it_wrong( $class, sprintf( __( '%s must set a database connection for use with escaping.' ), $class ), E_USER_NOTICE ); } else { _doing_it_wrong( $class, sprintf( '%s must set a database connection for use with escaping.', $class ), E_USER_NOTICE );