[wp-trac] [WordPress Trac] #42609: Regression: WordPress 4.9 theme editor cannot edit files when running on a Windows based server
WordPress Trac
noreply at wordpress.org
Mon Nov 27 03:27:21 UTC 2017
#42609: Regression: WordPress 4.9 theme editor cannot edit files when running on a
Windows based server
--------------------------------------------------+---------------------
Reporter: Otto42 | Owner: dd32
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.1
Component: Editor | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion good-first-bug | Focuses:
--------------------------------------------------+---------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"42244"]:
{{{
#!CommitTicketReference repository="" revision="42244"
Theme Editor: Validate files are editable based on their relative
filenames, rather than full file path.
This fixes theme editing on Windows platforms where `validate_file()` will
return `2` on a full file path.
Fixes #42609.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42609#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list