WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
05/14/13 22:04:15 (11 months 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.