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

WordPress Trac noreply at wordpress.org
Thu Jan 17 19:30:51 UTC 2019


#46026: WSODs protection returns incorrect content type for XML Requests
------------------------------------------------+--------------------------
 Reporter:  spacedmonkey                        |       Owner:  (none)
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
                                                |  Review
Component:  Bootstrap/Load                      |     Version:  trunk
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch needs-testing servehappy  |     Focuses:  multisite
------------------------------------------------+--------------------------

Comment (by spacedmonkey):

 @birgire Thanks for the feedback, I have fixed those issues in my latest
 patch here.

 I have also added, the following changes.

 1. Now checks to see if `is_feed` and `is_trackback` return true.
 2. Added more content type to accepted list for xml + oembed.

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


More information about the wp-trac mailing list