Changeset 21332
- Timestamp:
- 07/25/2012 06:04:17 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom-comments.php
r19784 r21332 17 17 <title type="text"><?php 18 18 if ( is_singular() ) 19 printf( ent2ncr(__('Comments on %s')), get_the_title_rss());19 printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() ); 20 20 elseif ( is_search() ) 21 printf( ent2ncr(__('Comments for %1$s searching on %2$s')), get_bloginfo_rss( 'name' ), get_search_query() );21 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 22 22 else 23 printf( ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss());23 printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() ); 24 24 ?></title> 25 25 <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle> -
trunk/wp-includes/feed-rss2-comments.php
r21238 r21332 20 20 <title><?php 21 21 if ( is_singular() ) 22 printf( ent2ncr(__('Comments on: %s')), get_the_title_rss());22 printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() ); 23 23 elseif ( is_search() ) 24 printf( ent2ncr(__('Comments for %s searching on %s')), get_bloginfo_rss( 'name' ), esc_attr($wp_query->query_vars['s']));24 printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); 25 25 else 26 printf( ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss());26 printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() ); 27 27 ?></title> 28 28 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
Note: See TracChangeset
for help on using the changeset viewer.