From 33dc58fe703b7238cf1d6401ad9c9a6fbc2c5ec4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Apr 2017 14:26:40 +0000 Subject: [PATCH] I18N: Remove an extra slash between `.mo` file path and name in `load_muplugin_textdomain()`. Props nsundberg. Fixes #39168. Built from https://develop.svn.wordpress.org/trunk@40362 git-svn-id: http://core.svn.wordpress.org/trunk@40269 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 20a18f96a2..c5e460a12b 100644 --- a/wp-includes/l10n.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5d0f4ff4e7..5a236bd73a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40361'; +$wp_version = '4.8-alpha-40362'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.