Opened 3 years ago

Last modified 12 months ago

#15110 new defect (bug)

Useless MIME type served for rss feeds

Reported by: singpolyma Owned by:
Priority: normal Milestone: Future Release
Component: Feeds Version: 3.0
Severity: normal Keywords: has-patch dev-feedback
Cc:

Description

Both /feed/, /feed/rss2/, and /feed/rss/ are served using the very undescriptive and generally useless "text/xml" MIME type. ATOM and RDF feeds are served with their proper MIME types. It looks like the MIME types for RSS are in feed.php, but for some reason there is a special "rss-http" type that returns the useless type? Changing the first line in feed-rss.php and feed-rss2.php to use the rss and rss2 type instead of rss-http fixed it on my site.

Attachments (1)

rss-mime.patch (908 bytes) - added by singpolyma 3 years ago.
Patch I've used to fix this

Download all attachments as: .zip

Change History (7)

Patch I've used to fix this

  • Keywords has-patch added; mime removed
  • Keywords dev-feedback added
  • Milestone changed from Awaiting Review to Future Release
  • Keywords changed from has-patch, dev-feedback to has-patch dev-feedback

Can we get this added to the queue for 3.5 please?

Need to check if the wp-testers report and ticket:9810:5 still apply.

Note: See TracTickets for help on using tickets.