Make WordPress Core


Ignore:
Timestamp:
09/26/2006 06:05:06 PM (18 years ago)
Author:
ryan
Message:

get_the_category_rss() from masquerade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r4144 r4257  
    129129}
    130130
    131 function the_category_rss($type = 'rss') {
     131function get_the_category_rss($type = 'rss') {
    132132    $categories = get_the_category();
    133133    $the_list = '';
     
    140140        }
    141141    }
    142     echo apply_filters('the_category_rss', $the_list, $type);
     142    return apply_filters('the_category_rss', $the_list, $type);
     143}
     144
     145function the_category_rss($type = 'rss') {
     146    echo get_the_category_rss($type);
    143147}
    144148
Note: See TracChangeset for help on using the changeset viewer.