diff options
Diffstat (limited to 'wp-includes/feed-atom-comments.php')
-rw-r--r-- | wp-includes/feed-atom-comments.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wp-includes/feed-atom-comments.php b/wp-includes/feed-atom-comments.php index 0cde6e7..ee9a73b 100644 --- a/wp-includes/feed-atom-comments.php +++ b/wp-includes/feed-atom-comments.php @@ -7,7 +7,7 @@ echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>' xml:lang="<?php echo get_option('rss_language'); ?>" <?php do_action('atom_ns'); ?> > - <title type="text"><?php + <title type="text"><?php if ( is_singular() ) printf(__('Comments on: %s'), get_the_title_rss()); elseif ( is_search() ) @@ -33,7 +33,6 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment(); <title><?php if ( !is_singular() ) { $title = get_the_title($comment_post->ID); - $title = apply_filters('the_title', $title); $title = apply_filters('the_title_rss', $title); printf(__('Comment on %1$s by %2$s'), $title, get_comment_author_rss()); } else { |