From fb9b3819de6d799d279b69fb113dd5cba2e11387 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Thu, 3 Nov 2016 22:02:00 +0000 Subject: [PATCH] Load: Remove unused global imports in `wp_load_translations_early()`. See #38535. git-svn-id: https://develop.svn.wordpress.org/trunk@39130 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/load.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 940eb660b4..42e2b71634 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -841,14 +841,12 @@ function get_current_network_id() { * @since 3.4.0 * @access private * - * @global string $text_direction - * @global WP_Locale $wp_locale The WordPress date and time locale object. - * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. + * @global WP_Locale $wp_locale The WordPress date and time locale object. * * @staticvar bool $loaded */ function wp_load_translations_early() { - global $text_direction, $wp_locale, $wp_locale_switcher; + global $wp_locale; static $loaded = false; if ( $loaded )