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:
parent
4a0d729415
commit
6e411a5ea9
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in New Issue