Site Health: Site errors are for *this* site, not necessarily *your* site.

Props techboyg5, Clorith, audrasjb.
Fixes #51524.


git-svn-id: https://develop.svn.wordpress.org/trunk@49480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2020-11-02 19:53:58 +00:00
parent 07171631d0
commit 85abd2fc8b

View File

@@ -181,11 +181,11 @@ class WP_Fatal_Error_Handler {
}
if ( true === $handled && wp_is_recovery_mode() ) {
$message = __( 'There has been a critical error on your website, putting it in recovery mode. Please check the Themes and Plugins screens for more details. If you just installed or updated a theme or plugin, check the relevant page for that first.' );
$message = __( 'There has been a critical error on this website, putting it in recovery mode. Please check the Themes and Plugins screens for more details. If you just installed or updated a theme or plugin, check the relevant page for that first.' );
} elseif ( is_protected_endpoint() ) {
$message = __( 'There has been a critical error on your website. Please check your site admin email inbox for instructions.' );
$message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' );
} else {
$message = __( 'There has been a critical error on your website.' );
$message = __( 'There has been a critical error on this website.' );
}
$message = sprintf(