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:
@@ -2302,7 +2302,7 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
|
||||
$connection_type = isset( $credentials['connection_type'] ) ? $credentials['connection_type'] : '';
|
||||
|
||||
if ( $error ) {
|
||||
$error_string = __( '<strong>Error</strong>: Could not connect to the server. Please verify the settings are correct.' );
|
||||
$error_string = __( '<strong>Error:</strong> Could not connect to the server. Please verify the settings are correct.' );
|
||||
if ( is_wp_error( $error ) ) {
|
||||
$error_string = esc_html( $error->get_error_message() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user