Opened 4 years ago
Closed 4 years ago
#9792 closed defect (bug) (fixed)
inconsistent name spaces hooks in rss/atom feeds
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Feeds | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch tested commit |
| Cc: |
Description
- atom: ns_atom
- atom/comments: ns_atom
- rss2: ns_rss2
- rss2/comments: ns_comments_rss2 since r11279
backward compat probably prevents to use ns_comments_atom.
either way, things should be consistent.
Attachments (2)
Change History (6)
- Owner set to westi
Denis-de-Bernardy — 4 years ago
comment:2
peaceablewhale — 4 years ago
peaceablewhale — 4 years ago
- Keywords has-patch tested commit added
+1. that way we keep backwards compat and we don't introduce inconsistencies.
Note: See
TracTickets for help on using
tickets.

"atom_ns" and "rss2_ns" are general namespaces that both the general and comments feed can share while "rss2_comments_ns" may be used for adding namespaces to the comments feed only. I suggest adding "rss2_ns" to feed-rss2-comments.php and "atom_comments_ns" to feed-atom-comments.php.