Opened 14 years ago
Closed 14 years ago
#21589 closed defect (bug) (fixed)
get_term_feed_link without filter for tag archive
| Reported by: | andrea.r | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Feeds | Version: | 3.4.1 |
| Severity: | minor | Keywords: | needs-codex has-patch |
| Cc: | Focuses: |
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)
#2
follow-up:
↓ 3
@
14 years 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).
#3
in reply to: ↑ 2
@
14 years ago
Replying to SergeyBiryukov:
A hacky workaround would be to hook into
category_feed_linkand search fortag/ortag=in the link (depending on permalink structure).
OK, thank you!!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like a copy/paste error in [14711].