Make WordPress Core

Ticket #46950: 46950.2.diff

File 46950.2.diff, 811 bytes (added by spacedmonkey, 7 years ago)
  • src/wp-includes/class-wp-fatal-error-handler.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    161161                        require_once ABSPATH . WPINC . '/functions.php';
    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(
    167171                        'response' => 500,