#16544 closed defect (bug) (invalid)
RSS2 feeds are published as text/xml rather than application/rss+xml
Reported by: | Orakel78 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 3.0.5 |
Component: | Feeds | Keywords: | |
Focuses: | Cc: |
Description
It seems to me that there is a bug in feed-rss.php, feed-rss2.php and feed-rss2-comments.php
All files have the following header
header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
Which seems to publish the feed as text/xml rather than application/rss+xml which I believe it should be.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Current header was introduced in [11358] as a fix for #9810.
See also: The Proper Content Type for XML Feeds.