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

WordPress Trac noreply at wordpress.org
Wed Jan 16 15:21:54 UTC 2019


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

Comment (by flixos90):

 In [changeset:"44625" 44625]:
 {{{
 #!CommitTicketReference repository="" revision="44625"
 Bootstrap/Load: Add support for JSON requests to `wp_die()`.

 In addition to AJAX and XML-RPC requests, `wp_die()` now handles JSON
 requests correctly, returning information in the expected content type.

 Props spacedmonkey.
 See #45933, #44458.
 }}}

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


More information about the wp-trac mailing list