[wp-trac] [WordPress Trac] #36831: wp_normalize_path in plugin_dir_path

WordPress Trac noreply at wordpress.org
Sat May 14 06:40:08 UTC 2016


#36831: wp_normalize_path in plugin_dir_path
----------------------------------------+------------------------------
 Reporter:  sebastian.pisula            |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Plugins                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by dd32):

 What's the expectation for having it using `/`?

 I actually support adding it, although actually feel the existing result
 is the ''intended'' result, it's what's contained within `ABSPATH` and
 works perfectly fine on a windows system.

 We don't really change/add things for the sake of adding it though, having
 a reason for why you expect it one way or another makes things much more
 valid.

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


More information about the wp-trac mailing list