Opened 3 years ago
Last modified 12 months ago
#15110 new defect (bug)
Useless MIME type served for rss feeds
| Reported by: |
|
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)
Change History (7)
singpolyma — 3 years ago
comment:1
singpolyma — 3 years ago
- Keywords has-patch added; mime removed
comment:3
markjaquith — 2 years ago
- 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?
comment:5
SergeyBiryukov — 12 months ago
comment:6
SergeyBiryukov — 12 months ago
Need to check if the wp-testers report and ticket:9810:5 still apply.
Note: See
TracTickets for help on using
tickets.

Patch I've used to fix this