[wp-trac] [WordPress Trac] #16544: RSS2 feeds are published as text/xml rather than application/rss+xml
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 12 21:25:45 UTC 2011
#16544: RSS2 feeds are published as text/xml rather than application/rss+xml
--------------------------+-----------------------------
Reporter: Orakel78 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 3.0.5
Severity: trivial | Keywords:
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16544>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list