[wp-trac] [WordPress Trac] #39766: Plugin does not gracefully fail when editing active plugin causes fatal error

WordPress Trac noreply at wordpress.org
Tue Oct 3 01:33:52 UTC 2017


#39766: Plugin does not gracefully fail when editing active plugin causes fatal
error
-------------------------------------+-----------------------------
 Reporter:  ovann86                  |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  high                     |   Milestone:  4.9
Component:  Plugins                  |     Version:  4.7.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by westonruter):

 As I just [https://core.trac.wordpress.org/ticket/21622#comment:25
 commented] on #21622:

 > Please test and review these changes: https://github.com/xwp/wordpress-
 develop/pull/272
 >
 > * Refactor themes and plugin editors to submit file changes via Ajax
 instead of doing full page refreshes. Moves file modifications from theme-
 editor.php and plugin-editor.php to common Ajax handler.
 > * Do sandboxed updates of PHP files for both active themes and plugins,
 with rollbacks in the case of a loopback request results in a fatal error.
 This supersedes changes in #39766 (Plugin does not gracefully fail when
 editing active plugin causes fatal error).
 >
 > The improvements to the user experience and the robustness of the file
 editors are huge.

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


More information about the wp-trac mailing list