Make WordPress Core

Changeset 39067


Ignore:
Timestamp:
11/01/2016 07:37:29 AM (7 years ago)
Author:
swissspidy
Message:

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

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

Props johnjamesjacoby.
Fixes #38601.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r39005 r39067  
    2929 */
    3030function get_locale() {
    31     global $locale, $wp_local_package, $wpdb;
     31    global $locale, $wp_local_package;
    3232
    3333    if ( isset( $locale ) ) {
Note: See TracChangeset for help on using the changeset viewer.