Changeset 2167

Show
Ignore:
Timestamp:
01/31/05 10:06:12 (4 years ago)
Author:
saxmatt
Message:

Fix for http://mosquito.wordpress.org/view.php?id=587

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-commentsrss2.php

    r1957 r2167  
    4848    <item> 
    4949        <title>by: <?php comment_author_rss() ?></title> 
    50         <link><?php comment_link_rss() ?></link> 
     50        <link><?php comment_link() ?></link> 
    5151        <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> 
    5353            <?php  
    5454            if (!empty($comment->post_password) && $_COOKIE['wp-postpass'] != $comment->post_password) { 
  • trunk/wp-includes/comment-functions.php

    r2166 r2167  
    6363function get_comments_link() { 
    6464    return get_permalink() . '#comments'; 
     65} 
     66 
     67function get_comment_link() { 
     68    global $comment; 
     69    return get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID; 
    6570} 
    6671 
  • trunk/wp-includes/feed-functions.php

    r2068 r2167  
    5555} 
    5656 
    57 function comment_link_rss() { 
    58     echo get_comments_link(); 
     57function comment_link() { 
     58    echo get_comment_link(); 
    5959} 
    6060