Make WordPress Core

Ticket #48929: 48929.patch

File 48929.patch, 1.3 KB (added by Clorith, 3 years ago)
  • src/wp-includes/class-wp-fatal-error-handler.php

    diff --git a/src/wp-includes/class-wp-fatal-error-handler.php b/src/wp-includes/class-wp-fatal-error-handler.php
    a b  
    183183                if ( true === $handled && wp_is_recovery_mode() ) {
    184184                        $message = __( 'There has been a critical error on this website, putting it in recovery mode. Please check the Themes and Plugins screens for more details. If you just installed or updated a theme or plugin, check the relevant page for that first.' );
    185185                } elseif ( is_protected_endpoint() ) {
    186                         $message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' );
     186                        if ( is_multisite() ) {
     187                                $message = __( 'There has been a critical error on this website. Please reach out to your site administrator, and inform them of this error for further assistance.' );
     188                        } else {
     189                                $message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' );
     190                        }
    187191                } else {
    188192                        $message = __( 'There has been a critical error on this website.' );
    189193                }