mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user