[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:28:02 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:
--------------------------------------------------+---------------------

Comment (by dd32):

 In [changeset:"42245"]:
 {{{
 #!CommitTicketReference repository="" revision="42245"
 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.

 Merges [42244] to the 4.9 branch.
 Fixes #42609.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42609#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list