[wp-trac] [WordPress Trac] #39168: Double slash when loading mu-plugin textdomain

WordPress Trac noreply at wordpress.org
Sat Apr 1 14:22:20 UTC 2017


#39168: Double slash when loading mu-plugin textdomain
--------------------------+------------------
 Reporter:  nsundberg     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.8
Component:  I18N          |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------
Changes (by SergeyBiryukov):

 * version:  trunk => 4.6


Comment:

 Introduced in [37414].

 I think we can keep the slash and remove the `trailingslashit()` call
 instead, for consistency with `load_plugin_textdomain()` and
 `load_theme_textdomain()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39168#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list