From 53d112f7b3d01573995b36a8d96c9aca2e8f6fa5 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 10 Apr 2022 19:45:40 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-theme.php | 2 +- src/wp-includes/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index 39ce67393f..bdf3bdd2d9 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -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', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) ); } return; } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) { diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 589a4256e7..4ca79af098 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -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( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) ); } /**