From 54c7c7683674bf7b38b0442d939b24f7b212e0f3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 24 Apr 2019 18:14:53 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-fatal-error-handler.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-fatal-error-handler.php b/wp-includes/class-wp-fatal-error-handler.php index f041e19dd5..458f674104 100644 --- a/wp-includes/class-wp-fatal-error-handler.php +++ b/wp-includes/class-wp-fatal-error-handler.php @@ -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, diff --git a/wp-includes/version.php b/wp-includes/version.php index cf10263e4d..93c5aff243 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.