Changes from trunk/wp-includes/feed-atom-comments.php at r10164 to branches/2.7/wp-includes/feed-atom-comments.php at r10387
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/feed-atom-comments.php
r10164 r10387 12 12 xmlns="http://www.w3.org/2005/Atom" 13 13 xml:lang="<?php echo get_option('rss_language'); ?>" 14 xmlns:thr="http://purl.org/syndication/thread/1.0" 14 15 <?php do_action('atom_ns'); ?> 15 16 > … … 64 65 </author> 65 66 66 <id><?php comment_ link(); ?></id>67 <id><?php comment_guid(); ?></id> 67 68 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></updated> 68 69 <published><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></published> … … 79 80 // The rel attribute below and the id tag above should be GUIDs, but WP doesn't create them for comments (unlike posts). Either way, its more important that they both use the same system 80 81 ?> 81 <thr:in-reply-to ref="<?php echo get_comment_link($parent_comment) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" />82 <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 83 <?php endif; 83 84 do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID);
Note: See TracChangeset
for help on using the changeset viewer.