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.
Built from https://develop.svn.wordpress.org/trunk@45263


git-svn-id: http://core.svn.wordpress.org/trunk@45072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-04-24 18:14:53 +00:00
parent ed802428e3
commit 54c7c76836
2 changed files with 6 additions and 2 deletions

View File

@ -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,

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta3-45262';
$wp_version = '5.2-beta3-45263';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.