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: http://core.svn.wordpress.org/trunk@21662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f8add5ad2
commit
47572e8305
|
@ -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