From 39c77f5f3ad43277a5add8be67e88391582c246e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Apr 2017 14:25:08 +0000 Subject: [PATCH] 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 --- src/wp-includes/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 20a18f96a2..c5e460a12b 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -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 ); }