WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/24/2019 06:13:09 PM (4 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-fatal-error-handler.php

    r45210 r45263  
    162162        }
    163163
    164         $message = __( 'The site is experiencing technical difficulties.' );
     164        if ( is_protected_endpoint() ) {
     165            $message = __( 'The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.' );
     166        } else {
     167            $message = __( 'The site is experiencing technical difficulties.' );
     168        }
    165169
    166170        $args = array(
Note: See TracChangeset for help on using the changeset viewer.