Make WordPress Core


Ignore:
Timestamp:
11/10/2022 07:34:13 PM (2 years ago)
Author:
ocean90
Message:

I18N: Revert [54795] from the 6.1 branch.

This will be added again once committed to trunk first.

See #57060.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1/src/wp-admin/includes/admin.php

    r54795 r54796  
    1414     * load_default_textdomain() will not have done so in this context.
    1515     */
    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' );
    1917}
    2018
Note: See TracChangeset for help on using the changeset viewer.