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-admin/options.php

    r48059 r48115  
    222222            sprintf(
    223223                /* translators: %s: The options page name. */
    224                 __( 'Options page %s not found in the options whitelist.' ),
     224                __( '<strong>Error</strong>: Options page %s not found in the options whitelist.' ),
    225225                '<code>' . esc_html( $option_page ) . '</code>'
    226226            )
Note: See TracChangeset for help on using the changeset viewer.