Make WordPress Core

Changeset 2781


Ignore:
Timestamp:
08/14/2005 06:21:38 PM (19 years ago)
Author:
matt
Message:

Fixes #1282

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/wp-commentsrss2.php

    r2543 r2781  
    5050?>
    5151    <item>
    52         <title>by: <?php comment_author_rss() ?></title>
     52        <title><?php if ( (! is_single()) || (! is_page()) ) {
     53            $title = get_the_title($comment->comment_post_ID);
     54            $title = apply_filters('the_title', $title);
     55            $title = apply_filters('the_title_rss', $title);
     56            echo "Comment on $title";
     57        } ?> by: <?php comment_author_rss() ?></title>
    5358        <link><?php comment_link() ?></link>
    5459        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate>
Note: See TracChangeset for help on using the changeset viewer.