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

WordPress Trac noreply at wordpress.org
Mon Jan 21 19:16:57 UTC 2019


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

Comment (by spacedmonkey):

 @flixos90 @schlessera Latest patch
 [https://core.trac.wordpress.org/attachment/ticket/45989/45989.3.diff
 45989.3.diff].

 This patch is super simple, that adds a new filter
 `wp_execution_succeeded` and uses for the rest api. They maybe other parts
 of core than this logic needs to be applied too. It also allow plugin
 created to do this, which will be super useful.

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


More information about the wp-trac mailing list