diff --git a/wp-includes/template-functions.php b/wp-includes/template-functions.php index 191fdcf514..3ebec66a98 100644 --- a/wp-includes/template-functions.php +++ b/wp-includes/template-functions.php @@ -1272,11 +1272,15 @@ function the_category($seperator = '') { } } -function the_category_rss() { +function the_category_rss($type = 'rss') { $categories = get_the_category(); foreach ($categories as $category) { $category->cat_name = stripslashes(convert_chars($category->cat_name)); - echo "\n$category->cat_name"; + if ('rdf' == $type) { + echo "\n$category->cat_name"; + } else { + echo "\n$category->cat_name"; + } } } diff --git a/wp-rdf.php b/wp-rdf.php index 9574b29379..0e153964db 100644 --- a/wp-rdf.php +++ b/wp-rdf.php @@ -55,7 +55,7 @@ if (!isset($rss_language)) { $rss_language = 'en'; } (mailto:) - +