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

    r48109 r48115  
    549549            sprintf(
    550550                /* translators: 1: $table_prefix, 2: wp-config.php */
    551                 __( '%1$s in %2$s can only contain numbers, letters, and underscores.' ),
     551                __( '<strong>Error</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ),
    552552                '<code>$table_prefix</code>',
    553553                '<code>wp-config.php</code>'
Note: See TracChangeset for help on using the changeset viewer.