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

WordPress Trac noreply at wordpress.org
Tue Mar 26 23:10:27 UTC 2019


#46026: WSODs protection returns incorrect content type for XML Requests
------------------------------------------------+--------------------------
 Reporter:  spacedmonkey                        |       Owner:
                                                |  spacedmonkey
     Type:  defect (bug)                        |      Status:  closed
 Priority:  normal                              |   Milestone:  5.2
Component:  Bootstrap/Load                      |     Version:  5.1
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  has-patch needs-testing servehappy  |     Focuses:  multisite
------------------------------------------------+--------------------------
Changes (by SergeyBiryukov):

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


Comment:

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

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

 Props spacedmonkey, birgire.
 Fixes #46026. See #44458.
 }}}

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


More information about the wp-trac mailing list