WordPress.org

Ready to get started?Download WordPress

Forums

V1.5 Comments RSS problem (3 posts)

  1. danscattered
    Member
    Posted 9 years ago #

    I am using the last weeks build and all my comments through rss link back to the latest post. PLEASE HELP.

  2. danscattered
    Member
    Posted 9 years ago #

    I found a solution:
    My solution involves adding a new function in wp-includes/comment-functions.php to return the URL of a specific comment. Here is that function:

    function get_specific_comment_link()
    {
    global $comment;
    return get_permalink( $comment->comment_post_ID ) . "#comment-" . $comment->comment_ID;
    }

    Then, in feed-functions.php, change comment_link_rss() function on line 58 to:

    function comment_link_rss() {
    echo get_specific_comment_link();
    }

    Thanks ColdForged

  3. NuclearMoose
    Member
    Posted 9 years ago #

    I'm sure the hackers' list would like to hear about this:
    http://wordpress.org/mailman/listinfo/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.