Make WordPress Core


Ignore:
Timestamp:
07/25/2012 06:04:17 PM (13 years ago)
Author:
ryan
Message:

Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-atom-comments.php

    r19784 r21332  
    1717    <title type="text"><?php
    1818        if ( is_singular() )
    19             printf(ent2ncr(__('Comments on %s')), get_the_title_rss());
     19            printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
    2020        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() );
    2222        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() );
    2424    ?></title>
    2525    <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle>
Note: See TracChangeset for help on using the changeset viewer.