Make WordPress Core


Ignore:
Timestamp:
06/21/2020 01:58:46 PM (4 years ago)
Author:
afercia
Message:

I18N: Restore the "Error:" prefix for error messages.

Partially reverts [48059] as there's no full consensus on the removal of the text prefix. Further actions should be taken to improve consistency and accessibility of the admin notices. Keeps some improvements to the translatable strings from [48059].

Fixes #47656.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r48102 r48115  
    21012101
    21022102    if ( $error ) {
    2103         $error_string = __( 'There was an error connecting to the server. Please verify the settings are correct.' );
     2103        $error_string = __( '<strong>Error</strong>: Could not connect to the server. Please verify the settings are correct.' );
    21042104        if ( is_wp_error( $error ) ) {
    21052105            $error_string = esc_html( $error->get_error_message() );
Note: See TracChangeset for help on using the changeset viewer.