Make WordPress Core

Changeset 40362


Ignore:
Timestamp:
04/01/2017 02:25:08 PM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove an extra slash between .mo file path and name in load_muplugin_textdomain().

Props nsundberg.
Fixes #39168.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r39331 r40362  
    754754    }
    755755
    756     $path = trailingslashit( WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' ) );
     756    $path = WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' );
    757757
    758758    return load_textdomain( $domain, $path . '/' . $mofile );
Note: See TracChangeset for help on using the changeset viewer.