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:
parent
61b50ae964
commit
9f18722721
@ -28,7 +28,7 @@
|
|||||||
* @return string The locale of the blog or from the {@see 'locale'} hook.
|
* @return string The locale of the blog or from the {@see 'locale'} hook.
|
||||||
*/
|
*/
|
||||||
function get_locale() {
|
function get_locale() {
|
||||||
global $locale, $wp_local_package, $wpdb;
|
global $locale, $wp_local_package;
|
||||||
|
|
||||||
if ( isset( $locale ) ) {
|
if ( isset( $locale ) ) {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user