Remove <code>
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
This commit is contained in:
parent
98cc2557ad
commit
39e40f4969
@ -397,7 +397,13 @@ function wp_set_wpdb_vars() {
|
||||
|
||||
if ( is_wp_error( $prefix ) ) {
|
||||
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>'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user