WordPress.org

Make WordPress Core

Changeset 4342


Ignore:
Timestamp:
10/04/06 21:46:42 (8 years ago)
Author:
markjaquith
Message:

Better tabbing and newlining for RSS categories. Props coffee2code and Nazgul. fixes #1156

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r4264 r4342  
    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    } 
Note: See TracChangeset for help on using the changeset viewer.