[wp-trac] [WordPress Trac] #33999: WordPress Update issue
WordPress Trac
noreply at wordpress.org
Tue Oct 13 21:47:38 UTC 2015
#33999: WordPress Update issue
-----------------------------+-----------------------------
Reporter: MrZen88 | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Upgrade/Install | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by dd32):
Replying to [comment:8 boonebgorges]:
> > Windows actually understands both
>
> Yes, but that's when we're asking the system to parse or generate a
filepath. Here we're just doing string comparison. These are the cases
where we need to use `DIRECTORY_SEPARATOR`.
But yet we also standardise all paths we operate on to use `/`. What I'm
getting at here, is that we don't use `DIRECTORY_SEPERATOR` inside
WordPress for a reason, because we don't use Windows formatted paths like
that, and I'm curious WHY this fixes it in this case. It feels like we're
not normalising the path at a higher level, or the system is seeing the
path in a way that is not standard.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33999#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list