Changeset 26863 for trunk/src/wp-includes/feed-atom-comments.php
- Timestamp:
- 12/21/2013 08:21:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom-comments.php
r25868 r26863 13 13 xml:lang="<?php bloginfo_rss( 'language' ); ?>" 14 14 xmlns:thr="http://purl.org/syndication/thread/1.0" 15 <?php do_action('atom_ns'); do_action('atom_comments_ns'); ?> 15 <?php 16 /** This action is documented in wp-includes/feed-atom.php */ 17 do_action( 'atom_ns' ); 18 19 /** 20 * Fires inside the feed tag in the Atom comment feed. 21 * 22 * @since 2.8.0 23 */ 24 do_action( 'atom_comments_ns' ); 25 ?> 16 26 > 17 27 <title type="text"><?php … … 40 50 <id><?php bloginfo_rss('comments_atom_url'); ?></id> 41 51 <?php } ?> 42 <?php do_action('comments_atom_head'); ?> 52 <?php 53 /** 54 * Fires at the end of the Atom comment feed header. 55 * 56 * @since 2.8.0 57 */ 58 do_action( 'comments_atom_head' ); 59 ?> 43 60 <?php 44 61 if ( have_comments() ) : while ( have_comments() ) : the_comment(); … … 81 98 <thr:in-reply-to ref="<?php comment_guid($parent_comment) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 82 99 <?php endif; 83 do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID); 100 /** 101 * Fires at the end of each Atom comment feed item. 102 * 103 * @since 2.2.0 104 * 105 * @param int $comment_id ID of the current comment. 106 * @param int $comment_post_id ID of the post the current comment is connected to. 107 */ 108 do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID ); 84 109 ?> 85 110 </entry>
Note: See TracChangeset
for help on using the changeset viewer.