wp/wp-includes/feed-atom.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    91 		 */
    91 		 */
    92 		do_action( 'atom_entry' );
    92 		do_action( 'atom_entry' );
    93 
    93 
    94 		if ( get_comments_number() || comments_open() ) :
    94 		if ( get_comments_number() || comments_open() ) :
    95 			?>
    95 			?>
    96 			<link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>"/>
    96 			<link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>" />
    97 			<link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>"/>
    97 			<link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>" />
    98 			<thr:total><?php echo get_comments_number(); ?></thr:total>
    98 			<thr:total><?php echo get_comments_number(); ?></thr:total>
    99 		<?php endif; ?>
    99 		<?php endif; ?>
   100 	</entry>
   100 	</entry>
   101 	<?php endwhile; ?>
   101 	<?php endwhile; ?>
   102 </feed>
   102 </feed>