mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
0c12438eed
commit
f680e20156
@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user