mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@48115 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -929,7 +929,7 @@ function validate_theme_requirements( $stylesheet ) {
|
||||
'theme_wp_php_incompatible',
|
||||
sprintf(
|
||||
/* translators: %s: Theme name. */
|
||||
_x( 'Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
|
||||
_x( '<strong>Error:</strong> Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
|
||||
$theme->display( 'Name' )
|
||||
)
|
||||
);
|
||||
@@ -938,7 +938,7 @@ function validate_theme_requirements( $stylesheet ) {
|
||||
'theme_php_incompatible',
|
||||
sprintf(
|
||||
/* translators: %s: Theme name. */
|
||||
_x( 'Current PHP version does not meet minimum requirements for %s.', 'theme' ),
|
||||
_x( '<strong>Error:</strong> Current PHP version does not meet minimum requirements for %s.', 'theme' ),
|
||||
$theme->display( 'Name' )
|
||||
)
|
||||
);
|
||||
@@ -947,7 +947,7 @@ function validate_theme_requirements( $stylesheet ) {
|
||||
'theme_wp_incompatible',
|
||||
sprintf(
|
||||
/* translators: %s: Theme name. */
|
||||
_x( 'Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
|
||||
_x( '<strong>Error:</strong> Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
|
||||
$theme->display( 'Name' )
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user