Changeset 39323 for trunk/src/wp-includes/feed-rss2-comments.php
- Timestamp:
- 11/21/2016 01:21:01 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/feed-rss2-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-rss2-comments.php
r38925 r39323 34 34 <channel> 35 35 <title><?php 36 if ( is_singular() ) 36 if ( is_singular() ) { 37 /* translators: Comments feed title. 1: Post title */ 37 38 printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() ); 38 elseif ( is_search() ) 39 } elseif ( is_search() ) { 40 /* translators: Comments feed title. 1: Site name, 2: Search query */ 39 41 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 40 else 42 } else { 43 /* translators: Comments feed title. 1: Site name */ 41 44 printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); 45 } 42 46 ?></title> 43 47 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> … … 73 77 /** This filter is documented in wp-includes/feed.php */ 74 78 $title = apply_filters( 'the_title_rss', $title ); 79 /* translators: Individual comment title. 1: Post title, 2: Comment author name */ 75 80 printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); 76 81 } else { 82 /* translators: Comment author title. 1: Comment author name */ 77 83 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 78 84 }
Note: See TracChangeset
for help on using the changeset viewer.