[wp-trac] [WordPress Trac] #42102: File Editor: Make fatal error detection more robust for edits to PHP files

WordPress Trac noreply at wordpress.org
Sun Oct 8 07:25:34 UTC 2017


#42102: File Editor: Make fatal error detection more robust for edits to PHP files
--------------------------+--------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.9
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------------

Comment (by westonruter):

 @pixolin Thanks for the details, and that this happened to you locally.
 The problem is probably that your WP install is unable to successfully
 make the loopback request. This will be fixed with the proposed fixes I
 have above, but it will then mean that you wouldn't be able to make any
 PHP change at all because it would not be able to make a successful
 loopback request to check for the fatal error. So in that case we'll
 probably need to show a notice saying that it was not able to communicate
 with the site, and that the PHP file change must be uploaded via FTP
 instead.

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


More information about the wp-trac mailing list