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
This commit is contained in:
parent
1aae56f53a
commit
d7d8768ffd
|
@ -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 ) ) {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue