Changeset 2167
- Timestamp:
- 01/31/05 10:06:12 (4 years ago)
- Files:
-
- trunk/wp-commentsrss2.php (modified) (1 diff)
- trunk/wp-includes/comment-functions.php (modified) (1 diff)
- trunk/wp-includes/feed-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-commentsrss2.php
r1957 r2167 48 48 <item> 49 49 <title>by: <?php comment_author_rss() ?></title> 50 <link><?php comment_link _rss() ?></link>50 <link><?php comment_link() ?></link> 51 51 <pubDate><?php comment_time('r'); ?></pubDate> 52 <guid isPermaLink="false"><?php comment_ID(); echo ":".$comment->comment_post_ID; ?>@<?php bloginfo_rss("url") ?></guid>52 <guid><?php comment_link() ?></guid> 53 53 <?php 54 54 if (!empty($comment->post_password) && $_COOKIE['wp-postpass'] != $comment->post_password) { trunk/wp-includes/comment-functions.php
r2166 r2167 63 63 function get_comments_link() { 64 64 return get_permalink() . '#comments'; 65 } 66 67 function get_comment_link() { 68 global $comment; 69 return get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID; 65 70 } 66 71 trunk/wp-includes/feed-functions.php
r2068 r2167 55 55 } 56 56 57 function comment_link _rss() {58 echo get_comment s_link();57 function comment_link() { 58 echo get_comment_link(); 59 59 } 60 60
