Make WordPress Core


Ignore:
Timestamp:
11/03/2016 10:02:00 PM (8 years ago)
Author:
ocean90
Message:

Load: Remove unused global imports in wp_load_translations_early().

See #38535.

File:
1 edited

Legend:

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

    r39005 r39130  
    842842 * @access private
    843843 *
    844  * @global string             $text_direction
    845  * @global WP_Locale          $wp_locale      The WordPress date and time locale object.
    846  * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
     844 * @global WP_Locale $wp_locale The WordPress date and time locale object.
    847845 *
    848846 * @staticvar bool $loaded
    849847 */
    850848function wp_load_translations_early() {
    851     global $text_direction, $wp_locale, $wp_locale_switcher;
     849    global $wp_locale;
    852850
    853851    static $loaded = false;
Note: See TracChangeset for help on using the changeset viewer.