Make WordPress Core


Ignore:
Timestamp:
06/02/2022 03:03:39 PM (4 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

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

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