Ticket #3252: patch.diff
| File patch.diff, 681 bytes (added by , 19 years ago) |
|---|
-
feed.php
135 135 foreach ( (array) $categories as $category ) { 136 136 $category->cat_name = convert_chars($category->cat_name); 137 137 if ( 'rdf' == $type ) 138 $the_list .= "\n\t\t<dc:subject> $category->cat_name</dc:subject>\n";138 $the_list .= "\n\t\t<dc:subject><![CDATA[$category->cat_name]]></dc:subject>\n"; 139 139 else 140 $the_list .= "\n\t\t<category> $category->cat_name</category>\n";140 $the_list .= "\n\t\t<category><![CDATA[$category->cat_name]]></category>\n"; 141 141 } 142 142 return apply_filters('the_category_rss', $the_list, $type); 143 143 }