Text Changes: Improve consistency of admin error notices.

This changeset replaces `<strong>Error</strong>:` with `<strong>Error:</strong>`, for better consistency.

Props transl8or, mihaidumitrascu, audrasjb.
Fixes #50785.

Built from https://develop.svn.wordpress.org/trunk@53458


git-svn-id: http://core.svn.wordpress.org/trunk@53047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb
2022-06-02 15:05:13 +00:00
parent 6f2e2a33be
commit bbe60d66c3
11 changed files with 59 additions and 59 deletions

View File

@@ -401,7 +401,7 @@ function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) {
// Check if the domain has been used already. We should return an error message.
if ( domain_exists($domain, $path, $site_id) )
return __( '<strong>Error</strong>: Site URL you&#8217;ve entered is already taken.' );
return __( '<strong>Error:</strong> Site URL you&#8217;ve entered is already taken.' );
/*
* Need to back up wpdb table names, and create a new wp_blogs entry for new blog.
@@ -410,7 +410,7 @@ function create_empty_blog( $domain, $path, $weblog_title, $site_id = 1 ) {
*/
if ( ! $blog_id = insert_blog($domain, $path, $site_id) )
return __( '<strong>Error</strong>: There was a problem creating site entry.' );
return __( '<strong>Error:</strong> There was a problem creating site entry.' );
switch_to_blog($blog_id);
install_blog($blog_id);