Bootstrap/Load: Modify the fatal error template to indicate to the user that they can check the admin email address for further instructions.
Props spacedmonkey, TimothyBlynJacobs. Fixes #46950. git-svn-id: https://develop.svn.wordpress.org/trunk@45263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1343858467
commit
4128f62c05
|
@ -161,7 +161,11 @@ class WP_Fatal_Error_Handler {
|
|||
require_once ABSPATH . WPINC . '/functions.php';
|
||||
}
|
||||
|
||||
$message = __( 'The site is experiencing technical difficulties.' );
|
||||
if ( is_protected_endpoint() ) {
|
||||
$message = __( 'The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.' );
|
||||
} else {
|
||||
$message = __( 'The site is experiencing technical difficulties.' );
|
||||
}
|
||||
|
||||
$args = array(
|
||||
'response' => 500,
|
||||
|
|
Loading…
Reference in New Issue