From c75298604f63c553331d29ed105ef8d28e8cdff1 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 30 Aug 2012 03:49:44 +0000 Subject: [PATCH] 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 --- wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index cdcf3df778..64fbd932a6 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -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 );