Changeset 4257

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

get_the_category_rss() from masquerade.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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