Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23175, comment 11


Ignore:
Timestamp:
05/14/2013 10:04:15 PM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23175, comment 11

    initial v1  
    11I'd suggest to normalize the slashes with `str_replace( '\\', '/', ... )` before doing any string manipulations. This is what the core does in a few functions.
    22
    3 Using `DIRECTORY_SEPERATOR` was previously discussed in #15598, #17494, #20849, and #22267. The consensus in each ticket was that it's not needed.
     3Using `DIRECTORY_SEPARATOR` was previously discussed in #15598, #17494, #20849, and #22267. The consensus in each ticket was that it's not needed.