Changeset 11109 for trunk/wp-includes/feed-atom-comments.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom-comments.php
r11013 r11109 19 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' ), attr ibute_escape(get_search_query()));21 printf(ent2ncr(__('Comments for %1$s searching on %2$s')), get_bloginfo_rss( 'name' ), attr(get_search_query())); 22 22 else 23 23 printf(ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss()); … … 33 33 <id><?php echo get_post_comments_feed_link('', 'atom'); ?></id> 34 34 <?php } elseif(is_search()) { ?> 35 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php echo get_option('home') . '?s=' . attr ibute_escape(get_search_query()); ?>" />35 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php echo get_option('home') . '?s=' . attr(get_search_query()); ?>" /> 36 36 <link rel="self" type="application/atom+xml" href="<?php echo get_search_comments_feed_link('', 'atom'); ?>" /> 37 37 <id><?php echo get_search_comments_feed_link('', 'atom'); ?></id>
Note: See TracChangeset
for help on using the changeset viewer.