Make WordPress Core


Ignore:
Timestamp:
06/21/2020 01:58:46 PM (5 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-includes/pluggable.php

    r48109 r48115  
    548548            // TODO: What should the error message be? (Or would these even happen?)
    549549            // Only needed if all authentication handlers fail to return anything.
    550             $user = new WP_Error( 'authentication_failed', __( 'Invalid username, email address or incorrect password.' ) );
     550            $user = new WP_Error( 'authentication_failed', __( '<strong>Error</strong>: Invalid username, email address or incorrect password.' ) );
    551551        }
    552552
Note: See TracChangeset for help on using the changeset viewer.