Ticket #21365: 21365.patch
| File 21365.patch, 2.0 KB (added by SergeyBiryukov, 10 months ago) |
|---|
-
wp-includes/feed-atom-comments.php
16 16 > 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> 26 26 -
wp-includes/feed-rss2-comments.php
19 19 <channel> 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" /> 29 29 <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
