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/functions.php

    r48110 r48115  
    15511551
    15521552    if ( ! has_action( "do_feed_{$feed}" ) ) {
    1553         wp_die( __( 'This is not a valid feed template.' ), '', array( 'response' => 404 ) );
     1553        wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
    15541554    }
    15551555
Note: See TracChangeset for help on using the changeset viewer.