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

git-svn-id: http://core.svn.wordpress.org/trunk@21109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-06-25 20:00:31 +00:00
parent 4a0d729415
commit 6e411a5ea9
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ function load_default_textdomain() {
return;
}
if ( is_admin() )
if ( is_admin() || ( defined( 'WP_REPAIRING' ) && WP_REPAIRING ) )
load_textdomain( 'default', WP_LANG_DIR . "/admin-$locale.mo" );
if ( is_network_admin() || ( defined( 'WP_INSTALLING_NETWORK' ) && WP_INSTALLING_NETWORK ) )