Changeset 39323 for trunk/src/wp-includes/feed-atom-comments.php
- Timestamp:
- 11/21/2016 01:21:01 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom-comments.php
r38925 r39323 29 29 > 30 30 <title type="text"><?php 31 if ( is_singular() ) 31 if ( is_singular() ) { 32 /* translators: Comments feed title. 1: Post title */ 32 33 printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() ); 33 elseif ( is_search() ) 34 } elseif ( is_search() ) { 35 /* translators: Comments feed title. 1: Site name, 2: Search query */ 34 36 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 35 else 37 } else { 38 /* translators: Comments feed title. 1: Site name */ 36 39 printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); 40 } 37 41 ?></title> 38 42 <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle> … … 74 78 /** This filter is documented in wp-includes/feed.php */ 75 79 $title = apply_filters( 'the_title_rss', $title ); 80 /* translators: Individual comment title. 1: Post title, 2: Comment author name */ 76 81 printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); 77 82 } else { 83 /* translators: Comment author title. 1: Comment author name */ 78 84 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 79 85 }
Note: See TracChangeset
for help on using the changeset viewer.