Ticket #21366: 21366.2.patch
File 21366.2.patch, 4.2 KB (added by , 13 years ago) |
---|
-
wp-includes/feed-atom-comments.php
20 20 elseif ( is_search() ) 21 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_wp_title_rss() ); 24 24 ?></title> 25 25 <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle> 26 26 -
wp-includes/feed-atom.php
16 16 xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php" 17 17 <?php do_action('atom_ns'); ?> 18 18 > 19 <title type="text"><?php bloginfo_rss('name');wp_title_rss(); ?></title>19 <title type="text"><?php wp_title_rss(); ?></title> 20 20 <subtitle type="text"><?php bloginfo_rss("description") ?></subtitle> 21 21 22 22 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated> -
wp-includes/feed-rdf.php
19 19 <?php do_action('rdf_ns'); ?> 20 20 > 21 21 <channel rdf:about="<?php bloginfo_rss("url") ?>"> 22 <title><?php bloginfo_rss('name');wp_title_rss(); ?></title>22 <title><?php wp_title_rss(); ?></title> 23 23 <link><?php bloginfo_rss('url') ?></link> 24 24 <description><?php bloginfo_rss('description') ?></description> 25 25 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> -
wp-includes/feed-rss.php
11 11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 12 12 <rss version="0.92"> 13 13 <channel> 14 <title><?php bloginfo_rss('name');wp_title_rss(); ?></title>14 <title><?php wp_title_rss(); ?></title> 15 15 <link><?php bloginfo_rss('url') ?></link> 16 16 <description><?php bloginfo_rss('description') ?></description> 17 17 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> -
wp-includes/feed-rss2-comments.php
23 23 elseif ( is_search() ) 24 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_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> -
wp-includes/feed-rss2.php
21 21 > 22 22 23 23 <channel> 24 <title><?php bloginfo_rss('name');wp_title_rss(); ?></title>24 <title><?php wp_title_rss(); ?></title> 25 25 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 26 26 <link><?php bloginfo_rss('url') ?></link> 27 27 <description><?php bloginfo_rss("description") ?></description> -
wp-includes/feed.php
83 83 $title = wp_title($sep, false); 84 84 if ( is_wp_error( $title ) ) 85 85 return $title->get_error_message(); 86 if ( false === strpos( $title, get_bloginfo_rss( 'name' ) ) ) 87 $title = get_bloginfo_rss( 'name' ) . $title; 86 88 $title = apply_filters('get_wp_title_rss', $title); 87 89 return $title; 88 90 }