diff --git a/wp-includes/feed-atom.php b/wp-includes/feed-atom.php index 9c7fbda7fc..a4a62f74b9 100644 --- a/wp-includes/feed-atom.php +++ b/wp-includes/feed-atom.php @@ -78,10 +78,13 @@ do_action( 'rss_tag_pre', 'atom' ); * @since 2.0.0 */ do_action( 'atom_entry' ); + + if ( get_comments_number() || comments_open() ) : ?> + diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index 69a3035d13..42ff4ea991 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -83,7 +83,9 @@ do_action( 'rss_tag_pre', 'rss2' ); <?php the_title_rss() ?> + + ]]> @@ -100,8 +102,10 @@ do_action( 'rss_tag_pre', 'rss2' ); ]]> + +