[wp-trac] [WordPress Trac] #48289: wp_normalize_path() breaks path_is_absolute() in Windows.
WordPress Trac
noreply at wordpress.org
Sat Oct 12 20:50:16 UTC 2019
#48289: wp_normalize_path() breaks path_is_absolute() in Windows.
----------------------------------------+---------------------
Reporter: paultgoodchild | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4
Component: Filesystem API | Version: 5.2.3
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Comment (by paultgoodchild):
I'd need to take a much closer look at the diffs, but how does such a
complex IF solve this, unless I'm missing something.
I know the DIRECTORY SEPARATOR constant certainly cannot fix this problem,
because of the way normalize works.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48289#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list