Make WordPress Core

Ticket #1156: bug1156_feed-functions.php

File bug1156_feed-functions.php, 843 bytes (added by coffee2code, 21 years ago)
Line 
1Index: wp-includes/feed-functions.php
2===================================================================
3--- wp-includes/feed-functions.php (revision 2474)
4+++ wp-includes/feed-functions.php (working copy)
5@@ -129,9 +129,9 @@
6 foreach ($categories as $category) {
7 $category->cat_name = convert_chars($category->cat_name);
8 if ('rdf' == $type) {
9- $the_list .= "\n\t<dc:subject>$category->cat_name</dc:subject>";
10+ $the_list .= "\n\t\t<dc:subject>$category->cat_name</dc:subject>\n";
11 } else {
12- $the_list .= "\n\t<category>$category->cat_name</category>";
13+ $the_list .= "\n\t\t<category>$category->cat_name</category>\n";
14 }
15 }
16 echo apply_filters('the_category_rss', $the_list, $type);
17@@ -156,4 +156,4 @@
18 }
19 }
20
21-?>
22\ No newline at end of file
23+?>