Make WordPress Core


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

    r48105 r48115  
    11541154                        sprintf(
    11551155                                /* translators: %s: Plugin name. */
    1156                                 _x( 'Current WordPress and PHP versions do not meet minimum requirements for %s.', 'plugin' ),
     1156                                _x( '<strong>Error:</strong> Current WordPress and PHP versions do not meet minimum requirements for %s.', 'plugin' ),
    11571157                                $plugin_headers['Name']
    11581158                        )
     
    11631163                        sprintf(
    11641164                                /* translators: %s: Plugin name. */
    1165                                 _x( 'Current PHP version does not meet minimum requirements for %s.', 'plugin' ),
     1165                                _x( '<strong>Error:</strong> Current PHP version does not meet minimum requirements for %s.', 'plugin' ),
    11661166                                $plugin_headers['Name']
    11671167                        )
     
    11721172                        sprintf(
    11731173                                /* translators: %s: Plugin name. */
    1174                                 _x( 'Current WordPress version does not meet minimum requirements for %s.', 'plugin' ),
     1174                                _x( '<strong>Error:</strong> Current WordPress version does not meet minimum requirements for %s.', 'plugin' ),
    11751175                                $plugin_headers['Name']
    11761176                        )
Note: See TracChangeset for help on using the changeset viewer.