• Resolved argentine

    (@argentine)


    When I receive RSS comments from my blog in thunderbird or other RSS reader, I can´t see which post this comment comes from. Is there any way in which the title of the post can be included.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • I fixed this in my RSS comments file directly. I believe a request exists for this in trac.wordpress.org; and if so it should get rolled into the next release.

    Line 52 of wp-commentsrs2.php, change from
    <title>by: <?php comment_author_rss() ?></title>

    to
    <title>Comment on <?php the_title_rss($comment->comment_post_ID); ?> by: <?php comment_author_rss() ?></title>

    Thread Starter argentine

    (@argentine)

    Thanks a lot Skippy

    Oh, I forgot that that won’t be sufficient. the_title_rss() needs to also be changed:

    /wp-includes/feed-functions.php, line 12:

    ORIGINAL:

    function the_title_rss() {
    $title = get_the_title();
    $title = apply_filters('the_title', $title);
    $title = apply_filters('the_title_rss', $title);
    echo $title;
    }

    CHANGE TO:
    function the_title_rss($id = 0) {
    $title = get_the_title($id);
    $title = apply_filters('the_title', $title);
    $title = apply_filters('the_title_rss', $title);
    echo $title;
    }

    Thread Starter argentine

    (@argentine)

    OK, thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RSS comments’ is closed to new replies.