Ticket #5072: 5072.2.diff
File 5072.2.diff, 1.4 KB (added by , 17 years ago) |
---|
-
wp-includes/feed-rss2-comments.php
40 40 <link><?php comment_link() ?></link> 41 41 <dc:creator><?php echo get_comment_author_rss() ?></dc:creator> 42 42 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate> 43 <guid ><?php comment_link() ?></guid>43 <guid isPermaLink="false"><?php comment_guid() ?></guid> 44 44 <?php if (!empty($comment_post->post_password) && $_COOKIE['wp-postpass'] != $comment_post->post_password) : ?> 45 45 <description><?php _e('Protected Comments: Please enter your password to view comments.'); ?></description> 46 46 <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded> -
wp-includes/feed.php
76 76 77 77 } 78 78 79 function comment_guid() { 80 echo get_comment_guid(); 81 } 82 83 function get_comment_guid() { 84 global $comment; 85 86 if ( !is_object($comment) ) 87 return false; 88 89 return get_the_guid($comment->comment_post_ID) . '#comment-' . $comment->comment_ID; 90 } 91 79 92 function comment_link() { 80 93 echo get_comment_link(); 81 94 }