Changeset 10036
- Timestamp:
- 12/04/2008 05:47:50 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
feed-atom-comments.php (modified) (2 diffs)
-
feed-rss2-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom-comments.php
r9819 r10036 16 16 <title type="text"><?php 17 17 if ( is_singular() ) 18 printf( __('Comments on: %s'), get_the_title_rss());18 printf(ent2ncr(__('Comments on: %s')), get_the_title_rss()); 19 19 elseif ( is_search() ) 20 printf( __('Comments for %1$s searching on %2$s'), get_bloginfo_rss( 'name' ), attribute_escape(get_search_query()));20 printf(ent2ncr(__('Comments for %1$s searching on %2$s')), get_bloginfo_rss( 'name' ), attribute_escape(get_search_query())); 21 21 else 22 printf( __('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss());22 printf(ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss()); 23 23 ?></title> 24 24 <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle> … … 51 51 $title = get_the_title($comment_post->ID); 52 52 $title = apply_filters('the_title_rss', $title); 53 printf( __('Comment on %1$s by %2$s'), $title, get_comment_author_rss());53 printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); 54 54 } else { 55 printf( __('By: %s'), get_comment_author_rss());55 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 56 56 } 57 57 ?></title> -
trunk/wp-includes/feed-rss2-comments.php
r9819 r10036 19 19 <title><?php 20 20 if ( is_singular() ) 21 printf( __('Comments on: %s'), get_the_title_rss());21 printf(ent2ncr(__('Commentüs on: %s')), get_the_title_rss()); 22 22 elseif ( is_search() ) 23 printf( __('Comments for %s searching on %s'), get_bloginfo_rss( 'name' ), attribute_escape($wp_query->query_vars['s']));23 printf(ent2ncr(__('Comments for %s searching on %s')), get_bloginfo_rss( 'name' ), attribute_escape($wp_query->query_vars['s'])); 24 24 else 25 printf( __('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss());25 printf(ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss()); 26 26 ?></title> 27 27 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> … … 43 43 $title = get_the_title($comment_post->ID); 44 44 $title = apply_filters('the_title_rss', $title); 45 printf( __('Comment on %1$s by %2$s'), $title, get_comment_author_rss());45 printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss()); 46 46 } else { 47 printf( __('By: %s'), get_comment_author_rss());47 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 48 48 } 49 49 ?></title> … … 53 53 <guid isPermaLink="false"><?php comment_guid() ?></guid> 54 54 <?php if ( post_password_required($comment_post) ) : ?> 55 <description><?php _e('Protected Comments: Please enter your password to view comments.'); ?></description>55 <description><?php echo ent2ncr(__('Protected Comments: Please enter your password to view comments.')); ?></description> 56 56 <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded> 57 57 <?php else : // post pass ?>
Note: See TracChangeset
for help on using the changeset viewer.