Remove `<code>` tags from translatable string in `wp-includes/load.php`.

Add translator comment.

Props ramiy.
Fixes #34621.
Built from https://develop.svn.wordpress.org/trunk@35632


git-svn-id: http://core.svn.wordpress.org/trunk@35596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-11-12 18:21:24 +00:00
parent 541ab45e8f
commit 6209004bf7
2 changed files with 8 additions and 2 deletions

View File

@ -397,7 +397,13 @@ function wp_set_wpdb_vars() {
if ( is_wp_error( $prefix ) ) { if ( is_wp_error( $prefix ) ) {
wp_load_translations_early(); wp_load_translations_early();
wp_die( __( '<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.' ) ); wp_die(
/* translators: 1: $table_prefix 2: wp-config.php */
sprintf( __( '<strong>ERROR</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ),
'<code>$table_prefix</code>',
'<code>wp-config.php</code>'
)
);
} }
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-beta4-35631'; $wp_version = '4.4-beta4-35632';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.