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

WordPress Trac noreply at wordpress.org
Thu Mar 21 23:20:13 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
------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * keywords:  needs-patch servehappy needs-testing => servehappy needs-
     testing has-patch


Comment:

 Uploaded a new patch.
 [https://core.trac.wordpress.org/attachment/ticket/45989/45989.6.diff
 45989.6.diff].

 This patch use headers_sent as the check. This is an improvement to what
 we had before as most use case of plugin hook were covered. Hooking in a
 fatal error to the wp_head action, still gave me a WSOD, but I am not sure
 how we can work around this. This should be committed ASAP.

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


More information about the wp-trac mailing list