diff --git a/src/wp-includes/class-wp-shutdown-handler.php b/src/wp-includes/class-wp-shutdown-handler.php index e22038f870..4761393757 100644 --- a/src/wp-includes/class-wp-shutdown-handler.php +++ b/src/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(