Make WordPress Core

Changeset 21109


Ignore:
Timestamp:
06/25/2012 08:00:31 PM (12 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/l10n.php

    r20788 r21109  
    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.