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

WordPress Trac noreply at wordpress.org
Tue Jan 22 21:21:03 UTC 2019


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

Comment (by spacedmonkey):

 Thanks for your feedback @birgire

 In [https://core.trac.wordpress.org/attachment/ticket/46026/46026.3.diff
 46026.3.diff] are the following changes

 - Now returns <title> node.
 - Now returns content type xml/text
 - Also checks `is_comment_feed`
 - Load.php now has a empty line at the end.

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


More information about the wp-trac mailing list