mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
General: add missing strong tag to some error messages.
Props NekoJonez, oakesjosh. Fixes #54437. git-svn-id: https://develop.svn.wordpress.org/trunk@53118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -282,7 +282,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
)
|
||||
);
|
||||
if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
|
||||
$this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) );
|
||||
$this->errors->add( 'theme_root_missing', __( '<strong>Error</strong>: The themes directory is either empty or does not exist. Please check your installation.' ) );
|
||||
}
|
||||
return;
|
||||
} elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {
|
||||
|
||||
@@ -1600,7 +1600,7 @@ function do_feed() {
|
||||
}
|
||||
|
||||
if ( ! has_action( "do_feed_{$feed}" ) ) {
|
||||
wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
|
||||
wp_die( __( '<strong>Error</strong>: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user