Add comments_atom_head action. Props neoxx, Denis-de-Bernardy. fixes #6186

git-svn-id: http://svn.automattic.com/wordpress/trunk@10984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-17 07:09:06 +00:00
parent 2903685c95
commit 2724d67ab9

View File

@ -40,7 +40,7 @@ echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>'
<link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" /> <link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" />
<id><?php bloginfo_rss('comments_atom_url'); ?></id> <id><?php bloginfo_rss('comments_atom_url'); ?></id>
<?php } ?> <?php } ?>
<?php do_action('comments_atom_head'); ?>
<?php <?php
if ( have_comments() ) : while ( have_comments() ) : the_comment(); if ( have_comments() ) : while ( have_comments() ) : the_comment();
$comment_post = get_post($comment->comment_post_ID); $comment_post = get_post($comment->comment_post_ID);