I18N: Remove unused `$wpdb` global from `get_locale()` after [39005].

Originally added in [38976], but reverted soon after.

Props johnjamesjacoby.
Fixes #38601.

git-svn-id: https://develop.svn.wordpress.org/trunk@39067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2016-11-01 07:37:29 +00:00
parent 61b50ae964
commit 9f18722721
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) ) {
/**