### Eclipse Workspace Patch 1.0
#P wordpress-trunk
Index: wp-includes/feed-atom.php
===================================================================
--- wp-includes/feed-atom.php	(revision 17521)
+++ wp-includes/feed-atom.php	(working copy)
@@ -46,9 +46,11 @@
 <?php endif; ?>
 <?php atom_enclosure(); ?>
 <?php do_action('atom_entry'); ?>
+<?php if ( apply_filters( 'atom_process_comments', true ) ) : ?>
 		<link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/>
 		<link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/>
 		<thr:total><?php echo get_comments_number()?></thr:total>
+<?php endif; ?>
 	</entry>
 	<?php endwhile ; ?>
 </feed>
Index: wp-includes/feed-rss2.php
===================================================================
--- wp-includes/feed-rss2.php	(revision 17521)
+++ wp-includes/feed-rss2.php	(working copy)
@@ -50,8 +50,10 @@
 		<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
 	<?php endif; ?>
 <?php endif; ?>
+<?php if ( apply_filters( 'rss2_process_comments', true ) ) : ?>
 		<wfw:commentRss><?php echo esc_url( get_post_comments_feed_link(null, 'rss2') ); ?></wfw:commentRss>
 		<slash:comments><?php echo get_comments_number(); ?></slash:comments>
+<?php endif; ?>
 <?php rss_enclosure(); ?>
 	<?php do_action('rss2_item'); ?>
 	</item>
