diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-27 14:25:06 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-27 14:25:06 +0000 |
| commit | 975439ecc7163247a96d5feec3920a1602943b73 (patch) | |
| tree | 081c264a6d1aba471ec320cca6f2cffc10297469 /wp-includes/feed.php | |
| parent | 3504926f8687e7557e64c73bc668b90e5da64a76 (diff) | |
| download | wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.gz wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.xz wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.zip | |
WP Merge to rev 4258
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@774 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/feed.php')
| -rw-r--r-- | wp-includes/feed.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wp-includes/feed.php b/wp-includes/feed.php index fd8b8a0..421710d 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -128,7 +128,7 @@ function get_category_rss_link($echo = false, $cat_ID, $category_nicename) { return $link; } -function the_category_rss($type = 'rss') { +function get_the_category_rss($type = 'rss') { $categories = get_the_category(); $the_list = ''; foreach ($categories as $category) { @@ -139,7 +139,11 @@ function the_category_rss($type = 'rss') { $the_list .= "\n\t<category>$category->cat_name</category>"; } } - echo apply_filters('the_category_rss', $the_list, $type); + return apply_filters('the_category_rss', $the_list, $type); +} + +function the_category_rss($type = 'rss') { + echo get_the_category_rss($type); } function rss_enclosure() { |
