[wp-trac] [WordPress Trac] #45989: WSODs protection still 500 on REST API request

WordPress Trac noreply at wordpress.org
Fri Mar 22 18:35:04 UTC 2019


#45989: WSODs protection still 500 on REST API request
------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                        |       Owner:  schlessera
     Type:  defect (bug)                        |      Status:  reopened
 Priority:  normal                              |   Milestone:  5.2
Component:  Bootstrap/Load                      |     Version:  trunk
 Severity:  major                               |  Resolution:
 Keywords:  servehappy needs-testing has-patch  |     Focuses:  multisite
------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 I still think we should run recovery mode even if headers have been sent,
 otherwise we are going to regress when errors are displayed in some form.

 Then we could render the error template conditionally. Perhaps, allow it
 if headers have been sent, but we haven't started rendering actual HTML?
 On the front-end that'd perhaps be something like `did_filter(
 'template_include' )`, not sure about the admin.

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


More information about the wp-trac mailing list