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:
parent
d766856878
commit
39c77f5f3a
@ -753,7 +753,7 @@ function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) {
|
|||||||
return true;
|
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 );
|
return load_textdomain( $domain, $path . '/' . $mofile );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user