Changeset 5760
- Timestamp:
- 06/25/07 21:39:17 (1 year ago)
- Files:
-
- trunk/wp-app.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-app.php
r5700 r5760 385 385 $cats = get_categories("hierarchical=0&hide_empty=0"); 386 386 foreach ((array) $cats as $cat) { 387 $categories .= " <category term=\"" . attribute_escape($cat-> cat_name) . "\" />\n";387 $categories .= " <category term=\"" . attribute_escape($cat->name) . "\" />\n"; 388 388 } 389 389 $output = <<<EOD … … 937 937 <?php } ?> 938 938 <?php foreach(get_the_category() as $category) { ?> 939 <category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category-> cat_name?>" />939 <category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category->name?>" /> 940 940 <?php } ?> <summary type="html"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 941 941 <?php if ( strlen( $GLOBALS['post']->post_content ) ) : ?> … … 993 993 <?php } ?> 994 994 <?php foreach(get_the_category() as $category) { ?> 995 <category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category-> cat_name?>" />995 <category scheme="<?php bloginfo_rss('home') ?>" term="<?php echo $category->name?>" /> 996 996 <summary type="html"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 997 997 <?php }
