Changeset 54806 for branches/6.1
- Timestamp:
- 11/11/2022 02:24:29 AM (2 years ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/load.php
r54798 r54806 1322 1322 * @access private 1323 1323 * 1324 * @global WP_Textdomain_Registry $wp_textdomain_registry WordPress Textdomain Registry. 1324 1325 * @global WP_Locale $wp_locale WordPress date and time locale object. 1325 1326 */ 1326 1327 function wp_load_translations_early() { 1327 global $wp_locale ;1328 global $wp_locale, $wp_textdomain_registry; 1328 1329 1329 1330 static $loaded = false; … … 1343 1344 require_once ABSPATH . WPINC . '/pomo/mo.php'; 1344 1345 require_once ABSPATH . WPINC . '/l10n.php'; 1346 require_once ABSPATH . WPINC . '/class-wp-textdomain-registry.php'; 1345 1347 require_once ABSPATH . WPINC . '/class-wp-locale.php'; 1346 1348 require_once ABSPATH . WPINC . '/class-wp-locale-switcher.php'; … … 1351 1353 $locales = array(); 1352 1354 $locations = array(); 1355 1356 if ( ! $wp_textdomain_registry instanceof WP_Textdomain_Registry ) { 1357 $wp_textdomain_registry = new WP_Textdomain_Registry(); 1358 } 1353 1359 1354 1360 while ( true ) {
Note: See TracChangeset
for help on using the changeset viewer.