[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
Fri Nov 24 04:38:51 UTC 2017


#42609: Regression: WordPress 4.9 theme editor cannot edit files when running on a
Windows based server
--------------------------------------------------+--------------------
 Reporter:  Otto42                                |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  4.9.1
Component:  Editor                                |     Version:  4.9
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch 2nd-opinion good-first-bug  |     Focuses:
--------------------------------------------------+--------------------

Comment (by Otto42):

 No, this has nothing to do with the URL or post parameters. The path
 passed to validate_file is a full path, not a partial one.

 I will dig further and test with XP if needed, but the problem is real and
 the (terrible) patch works. The 2 case from validate_file needs to be
 ignored for a reason. Look deeper into why validate_file_to_edit did it to
 find out why.

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


More information about the wp-trac mailing list