diff --git a/wp-includes/class-wp-shutdown-handler.php b/wp-includes/class-wp-shutdown-handler.php index e22038f870..4761393757 100644 --- a/wp-includes/class-wp-shutdown-handler.php +++ b/wp-includes/class-wp-shutdown-handler.php @@ -141,9 +141,7 @@ class WP_Shutdown_Handler { */ protected function get_error_message_markup() { if ( ! function_exists( '__' ) ) { - function __( $text ) { - return $text; - } + wp_load_translations_early(); } $message = sprintf( diff --git a/wp-includes/version.php b/wp-includes/version.php index ab93a34911..9e51b70726 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44621'; +$wp_version = '5.1-beta1-44622'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.