WordPress.org

Make WordPress Core

Changeset 21122


Ignore:
Timestamp:
06/26/12 03:09:09 (22 months ago)
Author:
nacin
Message:

Load the admin MO file on repair.php. props SergeyBiryukov. see #21039 for 3.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/l10n.php

    r20788 r21122  
    393393    } 
    394394 
    395     if ( is_admin() ) 
     395    if ( is_admin() || ( defined( 'WP_REPAIRING' ) && WP_REPAIRING ) ) 
    396396        load_textdomain( 'default', WP_LANG_DIR . "/admin-$locale.mo" ); 
    397397 
Note: See TracChangeset for help on using the changeset viewer.