From 39e40f496916db1dbb2a89d9049ae439cc346e90 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 12 Nov 2015 18:20:42 +0000 Subject: [PATCH] Remove `` tags from translatable string in `wp-includes/load.php`. Add translator comment. Props ramiy. Fixes #34621. git-svn-id: https://develop.svn.wordpress.org/trunk@35632 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/load.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index c785128aed..1275acad37 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -397,7 +397,13 @@ function wp_set_wpdb_vars() { if ( is_wp_error( $prefix ) ) { wp_load_translations_early(); - wp_die( __( 'ERROR: $table_prefix in wp-config.php can only contain numbers, letters, and underscores.' ) ); + wp_die( + /* translators: 1: $table_prefix 2: wp-config.php */ + sprintf( __( 'ERROR: %1$s in %2$s can only contain numbers, letters, and underscores.' ), + '$table_prefix', + 'wp-config.php' + ) + ); } }