Ticket #9134: 9134.diff
File 9134.diff, 975 bytes (added by , 15 years ago) |
---|
-
wp-includes/feed-rss2.php
35 35 <item> 36 36 <title><?php the_title_rss() ?></title> 37 37 <link><?php the_permalink_rss() ?></link> 38 <?php if ( get_comments_number($post->ID) ) : ?> 38 39 <comments><?php comments_link(); ?></comments> 40 <?php endif; ?> 39 41 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> 40 42 <dc:creator><?php the_author() ?></dc:creator> 41 43 <?php the_category_rss() ?> … … 51 53 <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> 52 54 <?php endif; ?> 53 55 <?php endif; ?> 56 <?php if ( get_comments_number($post->ID) ) : ?> 54 57 <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss> 58 <?php endif; ?> 55 59 <?php rss_enclosure(); ?> 56 60 <?php do_action('rss2_item'); ?> 57 61 </item>