From d7d8768ffdcc12b19ce9e4d40c207101462f4ef1 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 1 Nov 2016 07:38:31 +0000 Subject: [PATCH] I18N: Remove unused `$wpdb` global from `get_locale()` after [39005]. Originally added in [38976], but reverted soon after. Props johnjamesjacoby. Fixes #38601. Built from https://develop.svn.wordpress.org/trunk@39067 git-svn-id: http://core.svn.wordpress.org/trunk@39009 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index e8bb37a54b..ba856491af 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -28,7 +28,7 @@ * @return string The locale of the blog or from the {@see 'locale'} hook. */ function get_locale() { - global $locale, $wp_local_package, $wpdb; + global $locale, $wp_local_package; if ( isset( $locale ) ) { /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 8992666330..4cf070d946 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39066'; +$wp_version = '4.7-beta1-39067'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.