diff --git a/wp-includes/class-wp-fatal-error-handler.php b/wp-includes/class-wp-fatal-error-handler.php index 458f674104..96958d10de 100644 --- a/wp-includes/class-wp-fatal-error-handler.php +++ b/wp-includes/class-wp-fatal-error-handler.php @@ -37,6 +37,10 @@ class WP_Fatal_Error_Handler { return; } + if ( ! isset( $GLOBALS['wp_locale'] ) ) { + load_default_textdomain(); + } + if ( ! is_multisite() && wp_recovery_mode()->is_initialized() ) { wp_recovery_mode()->handle_error( $error ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index e7f8fdc562..75a592658a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-RC1-45276'; +$wp_version = '5.2-RC1-45277'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.