mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -255,7 +255,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
)
|
||||
);
|
||||
if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
|
||||
$this->errors->add( 'theme_root_missing', __( 'The themes directory is either empty or doesn’t exist. Please check your installation.' ) );
|
||||
$this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or doesn’t exist. Please check your installation.' ) );
|
||||
}
|
||||
return;
|
||||
} elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {
|
||||
|
||||
Reference in New Issue
Block a user