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:
Andrew Nacin 2012-08-30 03:49:44 +00:00
parent 5f8add5ad2
commit 47572e8305
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ function get_term_feed_link( $term_id, $taxonomy = 'category', $feed = '' ) {
if ( 'category' == $taxonomy ) if ( 'category' == $taxonomy )
$link = apply_filters( 'category_feed_link', $link, $feed ); $link = apply_filters( 'category_feed_link', $link, $feed );
elseif ( 'post_tag' == $taxonomy ) elseif ( 'post_tag' == $taxonomy )
$link = apply_filters( 'category_feed_link', $link, $feed ); $link = apply_filters( 'tag_feed_link', $link, $feed );
else else
$link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy ); $link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );