From 727e859b3e8b62a95dc9f37cfd842060917d8f1a Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 4 Nov 2016 17:13:27 +0000 Subject: [PATCH] Load: Remove unused global imports in `wp_load_translations_early()`. See #38535. Built from https://develop.svn.wordpress.org/trunk@39130 git-svn-id: http://core.svn.wordpress.org/trunk@39070 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 6 ++---- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 940eb660b4..42e2b71634 100644 --- a/wp-includes/load.php +++ b/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 ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 3ca96c55ee..3a4f2ad934 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39129'; +$wp_version = '4.7-beta1-39130'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.