[wp-trac] [WordPress Trac] #29051: get_raw_theme_root : Windows paths
WordPress Trac
noreply at wordpress.org
Tue Jul 29 14:46:50 UTC 2014
#29051: get_raw_theme_root : Windows paths
--------------------------+------------------------------
Reporter: tivnet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses: template
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:2 tivnet]:
> If we assume that the themes can be resided only under the
`DOCUMENT_ROOT`, all the directories here can be '''stored as relative
paths'''. Then, the comparison would work, I guess.
I think themes currently can be resided outside of `ABSPATH` too. But if
the registered directory is under `ABSPATH`, we should probably store the
relative path, yeah.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29051#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list