Accessibility: Text Changes: Use sentence case for the word Error in various error messages, instead of all caps.
Using all caps should be avoided for better readability and because screen readers may pronounce all-caps words as abbreviations. Props afercia, ryokuhi, sabernhardt, garrett-eclipse. See #47656, #43037, #42945. Built from https://develop.svn.wordpress.org/trunk@47156 git-svn-id: http://core.svn.wordpress.org/trunk@46956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2074,7 +2074,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> There was an error connecting to the server, Please verify the settings are correct.' );
|
||||
$error_string = __( '<strong>Error</strong>: There was an error connecting 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