diff --git a/wp-includes/class-wp-fatal-error-handler.php b/wp-includes/class-wp-fatal-error-handler.php index 43135e720d..a461281bec 100644 --- a/wp-includes/class-wp-fatal-error-handler.php +++ b/wp-includes/class-wp-fatal-error-handler.php @@ -30,6 +30,11 @@ class WP_Fatal_Error_Handler { return; } + // Do not trigger the fatal error handler while updates are being installed. + if ( wp_in_maintenance_mode() ) { + return; + } + try { // Bail if no error found. $error = $this->detect_error(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 31709f6212..ad2bb8b4ce 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47766'; +$wp_version = '5.5-alpha-47768'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.