[wp-trac] [WordPress Trac] #44654: Use DIRECTORY_SEPARATOR instead of always using forward slash

WordPress Trac noreply at wordpress.org
Tue Jun 4 14:00:33 UTC 2019


#44654: Use DIRECTORY_SEPARATOR instead of always using forward slash
--------------------------+-------------------------
 Reporter:  mnelson4      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by desrosj):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 Thanks @mnelson4!

 I looked through Core and the only locations that use
 `DIRECTORY_SEPARATOR` currently are things like PHPMailer, ID3m and the
 random compatibility library. The only exception is the `ms-site.php`
 file.

 I'm OK closing this to keep consistency, but marking `maybelater` in case
 something changes down the road.

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


More information about the wp-trac mailing list