[wp-trac] [WordPress Trac] #17494: Directory Separator Constant
WordPress Trac
wp-trac at lists.automattic.com
Wed May 18 17:45:39 UTC 2011
#17494: Directory Separator Constant
--------------------------+------------------------
Reporter: dragonflyeye | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: duplicate
Keywords: |
--------------------------+------------------------
Comment (by nacin):
There's no need. Windows works fine. DIRECTORY_SEPARATOR is much better
for say, exploding a path received from Windows. And sometimes we do take
that into account when working off `__FILE__`, see plugin_basename() for
example. But building paths don't require that at all.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17494#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list