[wp-trac] [WordPress Trac] #45933: WSODs protection returns incorrect content type for JSON Requests

WordPress Trac noreply at wordpress.org
Tue Jan 22 06:46:23 UTC 2019


#45933: WSODs protection returns incorrect content type for JSON Requests
----------------------------------+------------------------
 Reporter:  spacedmonkey          |       Owner:  flixos90
     Type:  defect (bug)          |      Status:  reopened
 Priority:  normal                |   Milestone:  5.1
Component:  Bootstrap/Load        |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  servehappy has-patch  |     Focuses:  multisite
----------------------------------+------------------------
Changes (by dd32):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @flixos90 [44666] has introduced a fatal, looks like the `$error` variable
 is supposed to be something else

 {{{
 E_ERROR: /wp-includes/functions.php:3377
 Uncaught Error: Call to a member function get_error_data() on null in /wp-
 includes/functions.php:3377
 }}}

 https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/functions.php?marks=3377#L3355

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


More information about the wp-trac mailing list