Fix copy-paste error in get_term_feed_link() that caused the category_feed_link filter to run for tags, rather than tag_feed_link. props andrea.r, SergeyBiryukov. fixes #21589.
git-svn-id: https://develop.svn.wordpress.org/trunk@21662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b7705ada50
commit
c75298604f
@ -623,7 +623,7 @@ function get_term_feed_link( $term_id, $taxonomy = 'category', $feed = '' ) {
|
||||
if ( 'category' == $taxonomy )
|
||||
$link = apply_filters( 'category_feed_link', $link, $feed );
|
||||
elseif ( 'post_tag' == $taxonomy )
|
||||
$link = apply_filters( 'category_feed_link', $link, $feed );
|
||||
$link = apply_filters( 'tag_feed_link', $link, $feed );
|
||||
else
|
||||
$link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user