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:
Jb Audras
2022-04-10 19:45:40 +00:00
parent 4f6b91d246
commit 53d112f7b3
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ) ) {

View 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 ) );
}
/**