Opened 9 months ago
Closed 9 months ago
#21589 closed defect (bug) (fixed)
get_term_feed_link without filter for tag archive
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Feeds | Version: | 3.4.1 |
| Severity: | minor | Keywords: | needs-codex has-patch |
| Cc: |
Description
In function get_term_feed_link, located in link-template.php, line 627:
$link = apply_filters( 'category_feed_link', $link, $feed );
should be changed into:
$link = apply_filters( 'tag_feed_link', $link, $feed );
otherwise, it is not possible to edit or inhibit the feed URL in tag archives.
Attachments (1)
Change History (5)
SergeyBiryukov — 9 months ago
comment:1
SergeyBiryukov — 9 months ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.5
comment:2
follow-up:
↓ 3
SergeyBiryukov — 9 months ago
A hacky workaround would be to hook into category_feed_link and search for tag/ or tag= in the link (depending on permalink structure).
Replying to SergeyBiryukov:
A hacky workaround would be to hook into category_feed_link and search for tag/ or tag= in the link (depending on permalink structure).
OK, thank you!!
Note: See
TracTickets for help on using
tickets.

Looks like a copy/paste error in [14711].