WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 23 months ago

#15110 new defect (bug)

Useless MIME type served for rss feeds

Reported by: singpolyma Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.0
Component: Feeds Keywords: has-patch dev-feedback
Focuses: 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 4 years ago.
Patch I've used to fix this

Download all attachments as: .zip

Change History (7)

singpolyma4 years ago

Patch I've used to fix this

comment:1 singpolyma4 years ago

  • Keywords has-patch added; mime removed

comment:2 nkuttler4 years ago

  • Keywords dev-feedback added

comment:3 markjaquith3 years ago

  • Milestone changed from Awaiting Review to Future Release

comment:4 iridox23 months ago

  • Keywords changed from has-patch, dev-feedback to has-patch dev-feedback

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

comment:6 SergeyBiryukov23 months ago

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

Note: See TracTickets for help on using tickets.