summaryrefslogtreecommitdiffstats
path: root/wp-includes/feed.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-24 16:16:44 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-24 16:16:44 +0000
commit600b71019494e1c29898a620e58c0d2602f37b74 (patch)
tree21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-includes/feed.php
parent7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff)
downloadwordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz
wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz
wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/feed.php')
-rw-r--r--wp-includes/feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/feed.php b/wp-includes/feed.php
index ec11d65..deebbea 100644
--- a/wp-includes/feed.php
+++ b/wp-includes/feed.php
@@ -135,9 +135,9 @@ function get_the_category_rss($type = 'rss') {
foreach ( (array) $categories as $category ) {
$category->cat_name = convert_chars($category->cat_name);
if ( 'rdf' == $type )
- $the_list .= "\n\t\t<dc:subject>$category->cat_name</dc:subject>\n";
+ $the_list .= "\n\t\t<dc:subject><![CDATA[$category->cat_name]]></dc:subject>\n";
else
- $the_list .= "\n\t\t<category>$category->cat_name</category>\n";
+ $the_list .= "\n\t\t<category><![CDATA[$category->cat_name]]></category>\n";
}
return apply_filters('the_category_rss', $the_list, $type);
}