Opened 8 years ago
Closed 8 years ago
#21589 closed defect (bug) (fixed)
get_term_feed_link without filter for tag archive
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | minor | Version: | 3.4.1 |
Component: | Feeds | Keywords: | needs-codex has-patch |
Focuses: | 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)
#2
follow-up:
↓ 3
@
8 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
@
8 years ago
Replying to SergeyBiryukov:
A hacky workaround would be to hook into
category_feed_link
and search fortag/
ortag=
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].