Changeset 38961 for trunk/src/wp-settings.php
- Timestamp:
- 10/26/2016 03:35:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r38928 r38961 131 131 require_once( ABSPATH . WPINC . '/l10n.php' ); 132 132 require_once( ABSPATH . WPINC . '/class-wp-locale.php' ); 133 require_once( ABSPATH . WPINC . '/class-wp-locale-switcher.php' ); 133 134 134 135 // Run the installer if WordPress is not installed. … … 401 402 $GLOBALS['wp_locale'] = new WP_Locale(); 402 403 404 /** 405 * WordPress Locale Switcher object for switching locales. 406 * 407 * @since 4.7.0 408 * 409 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. 410 */ 411 $GLOBALS['wp_locale_switcher'] = new WP_Locale_Switcher(); 412 $GLOBALS['wp_locale_switcher']->init(); 413 403 414 // Load the functions for the active theme, for both parent and child theme if applicable. 404 415 if ( ! wp_installing() || 'wp-activate.php' === $pagenow ) {
Note: See TracChangeset
for help on using the changeset viewer.