Changeset 54796 for branches/6.1/src/wp-admin/includes/admin.php
- Timestamp:
- 11/10/2022 07:34:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1/src/wp-admin/includes/admin.php
r54795 r54796 14 14 * load_default_textdomain() will not have done so in this context. 15 15 */ 16 $admin_locale = get_locale(); 17 load_textdomain( 'default', WP_LANG_DIR . '/admin-' . $admin_locale . '.mo', $admin_locale ); 18 unset( $admin_locale ); 16 load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' ); 19 17 } 20 18
Note: See TracChangeset
for help on using the changeset viewer.