Ticket #9134: 9134.patch
| File 9134.patch, 1.5 KB (added by , 15 years ago) |
|---|
-
wp-includes/feed-atom.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
46 46 <?php endif; ?> 47 47 <?php atom_enclosure(); ?> 48 48 <?php do_action('atom_entry'); ?> 49 <?php if ( apply_filters( 'atom_process_comments', true ) ) : ?> 49 50 <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/> 50 51 <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/> 51 52 <thr:total><?php echo get_comments_number()?></thr:total> 53 <?php endif; ?> 52 54 </entry> 53 55 <?php endwhile ; ?> 54 56 </feed> -
wp-includes/feed-rss2.php
50 50 <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> 51 51 <?php endif; ?> 52 52 <?php endif; ?> 53 <?php if ( apply_filters( 'rss2_process_comments', true ) ) : ?> 53 54 <wfw:commentRss><?php echo esc_url( get_post_comments_feed_link(null, 'rss2') ); ?></wfw:commentRss> 54 55 <slash:comments><?php echo get_comments_number(); ?></slash:comments> 56 <?php endif; ?> 55 57 <?php rss_enclosure(); ?> 56 58 <?php do_action('rss2_item'); ?> 57 59 </item>