WordPress.org

Make WordPress Core

Changeset 21662


Ignore:
Timestamp:
08/30/12 03:49:44 (3 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r21627 r21662  
    624624        $link = apply_filters( 'category_feed_link', $link, $feed ); 
    625625    elseif ( 'post_tag' == $taxonomy ) 
    626         $link = apply_filters( 'category_feed_link', $link, $feed ); 
     626        $link = apply_filters( 'tag_feed_link', $link, $feed ); 
    627627    else 
    628628        $link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy ); 
Note: See TracChangeset for help on using the changeset viewer.