I18N: Remove `<code>` tag from translatable string in `wp-admin/network/site-new.php`.
Props ramiy. Fixes #35989. git-svn-id: https://develop.svn.wordpress.org/trunk@36771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc35c82c16
commit
0814a33464
|
@ -49,7 +49,12 @@ if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) {
|
|||
$subdirectory_reserved_names = get_subdirectory_reserved_names();
|
||||
|
||||
if ( in_array( $domain, $subdirectory_reserved_names ) ) {
|
||||
wp_die( sprintf( __( 'The following words are reserved for use by WordPress functions and cannot be used as blog names: <code>%s</code>' ), implode( '</code>, <code>', $subdirectory_reserved_names ) ) );
|
||||
wp_die(
|
||||
/* translators: %s: reserved names list */
|
||||
sprintf( __( 'The following words are reserved for use by WordPress functions and cannot be used as blog names: %s' ),
|
||||
'<code>' . implode( '</code>, <code>', $subdirectory_reserved_names ) . '</code>'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue