Opened 17 years ago
Closed 15 years ago
#5802 closed defect (bug) (fixed)
Make RSS Default Consistent
Reported by: | filosofo | Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Feeds | Keywords: | has-patch |
Focuses: | Cc: |
Description
Currently get_default_feed() returns rss2 (RSS 2.0), but get_the_category_rss() has as default "rss--i.e. RSS 0.92--as the default.
Also, if you request "rss," either by /?feed=rss or /feed/rss/, the response is in RSS 0.92 format. To get RSS 2.0 you either have to request rss2 specifically or feed=feed.
Since RSS 2.0 is what you get from get_default_feed(), and because it's newer and has more features than RSS 0.92, it seems to me that default "rss" (?feed=rss or /feed/rss/) should be RSS 2.0, not 0.92 as it is now.
The attached patch:
- Makes "rss" RSS 2.0
- Lets you specify RSS 0.92 with rss092
- Makes the default value for get_the_category_rss() be whatever get_default_feed() returns
Attachments (2)
Change History (14)
#2
@
15 years ago
- Keywords dev-feedback added; RSS rss2 rss092 feed removed
- Milestone changed from 2.9 to 2.8
- Version set to 2.8
#3
follow-up:
↓ 6
@
15 years ago
- Keywords dev-feedback removed
shouldn't we change the default directly?
#6
in reply to:
↑ 3
@
15 years ago
Replying to Denis-de-Bernardy:
shouldn't we change the default directly?
Do you mean that you want to hard-code "rss2" to the functions?
I am going to attach a new patch that fixes get_the_category_rss and the_category_rss within next minute. However, I don't want to have rss092 as I really want to have it removed. Please refer to http://core.trac.wordpress.org/ticket/4967#comment:11 for details.