mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-07 18:50:12 +00:00
I18N: Remove an extra slash between .mo file path and name in load_muplugin_textdomain().
Props nsundberg. Fixes #39168. git-svn-id: https://develop.svn.wordpress.org/trunk@40362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -753,7 +753,7 @@ function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$path = trailingslashit( WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' ) );
|
||||
$path = WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' );
|
||||
|
||||
return load_textdomain( $domain, $path . '/' . $mofile );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user