WordPress.org

Make WordPress Core

Changeset 29059


Ignore:
Timestamp:
07/10/14 09:54:06 (3 years ago)
Author:
nacin
Message:

Unload the current default textdomain in wp_install_load_language().

see #28577.

File:
1 edited

Legend:

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

    r29021 r29059  
    22772277    } 
    22782278 
     2279    unload_textdomain( 'default' ); // Start over. 
    22792280    load_textdomain( 'default', WP_LANG_DIR . "/{$translation_to_load}.mo" ); 
    22802281    load_textdomain( 'default', WP_LANG_DIR . "/admin-{$translation_to_load}.mo" ); 
Note: See TracChangeset for help on using the changeset viewer.