General: add missing strong tag to some error messages.

Props NekoJonez, oakesjosh.
Fixes #54437.

Built from https://develop.svn.wordpress.org/trunk@53118


git-svn-id: http://core.svn.wordpress.org/trunk@52707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-04-10 19:47:02 +00:00
parent 0c12438eed
commit f680e20156
3 changed files with 3 additions and 3 deletions

View File

@ -282,7 +282,7 @@ final class WP_Theme implements ArrayAccess {
) )
); );
if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one. 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; return;
} elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) { } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {

View File

@ -1600,7 +1600,7 @@ function do_feed() {
} }
if ( ! has_action( "do_feed_{$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 ) );
} }
/** /**

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-alpha-53117'; $wp_version = '6.0-alpha-53118';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.