Ticket #5435: fix_atom_comments_metadata.patch
| File fix_atom_comments_metadata.patch, 1.0 kB (added by ionfish, 9 months ago) |
|---|
-
wp-includes/feed-atom-comments.php
old new 19 19 20 20 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastcommentmodified('GMT')); ?></updated> 21 21 <?php the_generator( 'atom' ); ?> 22 22 23 <?php if(is_singular()) { ?> 24 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink(); ?>" /> 25 <link rel="self" type="application/atom+xml" href="<?php echo get_post_comments_feed_link('', 'atom'); ?>" /> 26 <id><?php echo get_post_comments_feed_link('', 'atom'); ?></id> 27 <?php } else { ?> 23 28 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('home'); ?>" /> 24 29 <link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" /> 25 30 <id><?php bloginfo_rss('comments_atom_url'); ?></id> 31 <?php } ?> 26 32 27 33 <?php 28 34 if ( have_comments() ) : while ( have_comments() ) : the_comment();
