Ticket #1156: 1156.diff

File 1156.diff, 755 bytes (added by Nazgul, 6 years ago)
  • wp-includes/feed.php

     
    134134    foreach ($categories as $category) { 
    135135        $category->cat_name = convert_chars($category->cat_name); 
    136136        if ('rdf' == $type) { 
    137             $the_list .= "\n\t<dc:subject>$category->cat_name</dc:subject>"; 
     137            $the_list .= "\n\t\t<dc:subject>$category->cat_name</dc:subject>\n"; 
    138138        } else { 
    139             $the_list .= "\n\t<category>$category->cat_name</category>"; 
     139            $the_list .= "\n\t\t<category>$category->cat_name</category>\n"; 
    140140        } 
    141141    } 
    142142    return apply_filters('the_category_rss', $the_list, $type);