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

    r48109 r48115  
    930930            sprintf(
    931931                /* translators: %s: Theme name. */
    932                 _x( 'Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
     932                _x( '<strong>Error:</strong> Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
    933933                $theme->display( 'Name' )
    934934            )
     
    939939            sprintf(
    940940                /* translators: %s: Theme name. */
    941                 _x( 'Current PHP version does not meet minimum requirements for %s.', 'theme' ),
     941                _x( '<strong>Error:</strong> Current PHP version does not meet minimum requirements for %s.', 'theme' ),
    942942                $theme->display( 'Name' )
    943943            )
     
    948948            sprintf(
    949949                /* translators: %s: Theme name. */
    950                 _x( 'Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
     950                _x( '<strong>Error:</strong> Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
    951951                $theme->display( 'Name' )
    952952            )
Note: See TracChangeset for help on using the changeset viewer.