Show
Ignore:
Timestamp:
08/14/05 18:21:38 (3 years ago)
Author:
matt
Message:

Fixes #1282

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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>