Ticket #3260: 3260.patch
| File 3260.patch, 9.0 KB (added by , 17 years ago) |
|---|
-
wp-includes/feed-atom-comments.php
47 47 get_post_custom($comment_post->ID); 48 48 ?> 49 49 <entry> 50 <title>< ?php50 <title><![CDATA[<?php 51 51 if ( !is_singular() ) { 52 52 $title = get_the_title($comment_post->ID); 53 53 $title = apply_filters('the_title_rss', $title); … … 55 55 } else { 56 56 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 57 57 } 58 ?> </title>58 ?>]]></title> 59 59 <link rel="alternate" href="<?php comment_link(); ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 60 60 61 61 <author> -
wp-includes/feed-atom.php
16 16 xml:base="<?php bloginfo_rss('home') ?>/wp-atom.php" 17 17 <?php do_action('atom_ns'); ?> 18 18 > 19 <title type="text">< ?php bloginfo_rss('name'); wp_title_rss(); ?></title>20 <subtitle type="text">< ?php bloginfo_rss("description") ?></subtitle>19 <title type="text"><![CDATA[<?php bloginfo_rss('name'); wp_title_rss(); ?>]]></title> 20 <subtitle type="text"><![CDATA[<?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> 23 23 <?php the_generator( 'atom' ); ?> … … 30 30 <?php while (have_posts()) : the_post(); ?> 31 31 <entry> 32 32 <author> 33 <name>< ?php the_author() ?></name>33 <name><![CDATA[<?php the_author() ?>]]></name> 34 34 <?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?> 35 35 <uri><?php the_author_meta('url')?></uri> 36 36 <?php endif; ?> -
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><![CDATA[<?php bloginfo_rss('name'); wp_title_rss(); ?>]]></title> 23 23 <link><?php bloginfo_rss('url') ?></link> 24 <description>< ?php bloginfo_rss('description') ?></description>24 <description><![CDATA[<?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> 26 26 <?php the_generator( 'rdf' ); ?> 27 27 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> … … 38 38 </channel> 39 39 <?php rewind_posts(); while (have_posts()): the_post(); ?> 40 40 <item rdf:about="<?php the_permalink_rss() ?>"> 41 <title>< ?php the_title_rss() ?></title>41 <title><![CDATA[<?php the_title_rss() ?>]]></title> 42 42 <link><?php the_permalink_rss() ?></link> 43 43 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt, false); ?></dc:date> 44 <dc:creator>< ?php the_author() ?></dc:creator>44 <dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator> 45 45 <?php the_category_rss('rdf') ?> 46 46 <?php if (get_option('rss_use_excerpt')) : ?> 47 <description>< ?php the_excerpt_rss() ?></description>47 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 48 48 <?php else : ?> 49 <description>< ?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?></description>49 <description><![CDATA[<?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?>]]></description> 50 50 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 51 51 <?php endif; ?> 52 52 <?php do_action('rdf_item'); ?> -
wp-includes/feed-rss.php
12 12 <?php the_generator( 'comment' ); ?> 13 13 <rss version="0.92"> 14 14 <channel> 15 <title>< ?php bloginfo_rss('name'); wp_title_rss(); ?></title>15 <title><![CDATA[<?php bloginfo_rss('name'); wp_title_rss(); ?>]]></title> 16 16 <link><?php bloginfo_rss('url') ?></link> 17 <description>< ?php bloginfo_rss('description') ?></description>17 <description><![CDATA[<?php bloginfo_rss('description') ?>]]></description> 18 18 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 19 19 <docs>http://backend.userland.com/rss092</docs> 20 20 <language><?php echo get_option('rss_language'); ?></language> … … 22 22 23 23 <?php while (have_posts()) : the_post(); ?> 24 24 <item> 25 <title>< ?php the_title_rss() ?></title>25 <title><![CDATA[<?php the_title_rss() ?>]]></title> 26 26 <?php if (get_option('rss_use_excerpt')) { ?> 27 27 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 28 28 <?php } else { // use content ?> 29 <description>< ?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?></description>29 <description><![CDATA[<?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?>]]></description> 30 30 <?php } ?> 31 31 <link><?php the_permalink_rss() ?></link> 32 32 <?php do_action('rss_item'); ?> -
wp-includes/feed-rss2-comments.php
17 17 <?php do_action('rss2_ns'); do_action('rss2_comments_ns'); ?> 18 18 > 19 19 <channel> 20 <title>< ?php20 <title><![CDATA[<?php 21 21 if ( is_singular() ) 22 22 printf(ent2ncr(__('Comments on: %s')), get_the_title_rss()); 23 23 elseif ( is_search() ) 24 24 printf(ent2ncr(__('Comments for %s searching on %s')), get_bloginfo_rss( 'name' ), esc_attr($wp_query->query_vars['s'])); 25 25 else 26 26 printf(ent2ncr(__('Comments for %s')), get_bloginfo_rss( 'name' ) . get_wp_title_rss()); 27 ?> </title>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> 30 <description>< ?php bloginfo_rss("description") ?></description>30 <description><![CDATA[<?php bloginfo_rss("description") ?>]]></description> 31 31 <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate> 32 32 <?php the_generator( 'rss2' ); ?> 33 33 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> … … 39 39 get_post_custom($comment_post->ID); 40 40 ?> 41 41 <item> 42 <title>< ?php42 <title><![CDATA[<?php 43 43 if ( !is_singular() ) { 44 44 $title = get_the_title($comment_post->ID); 45 45 $title = apply_filters('the_title_rss', $title); … … 47 47 } else { 48 48 printf(ent2ncr(__('By: %s')), get_comment_author_rss()); 49 49 } 50 ?> </title>50 ?>]]></title> 51 51 <link><?php comment_link() ?></link> 52 <dc:creator>< ?php echo get_comment_author_rss() ?></dc:creator>52 <dc:creator><![CDATA[<?php echo get_comment_author_rss() ?>]]></dc:creator> 53 53 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true, false), false); ?></pubDate> 54 54 <guid isPermaLink="false"><?php comment_guid() ?></guid> 55 55 <?php if ( post_password_required($comment_post) ) : ?> 56 <description>< ?php echo ent2ncr(__('Protected Comments: Please enter your password to view comments.')); ?></description>56 <description><![CDATA[<?php echo ent2ncr(__('Protected Comments: Please enter your password to view comments.')); ?>]]></description> 57 57 <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded> 58 58 <?php else : // post pass ?> 59 59 <description><?php comment_text_rss() ?></description> -
wp-includes/feed-rss2.php
21 21 > 22 22 23 23 <channel> 24 <title>< ?php bloginfo_rss('name'); wp_title_rss(); ?></title>24 <title><![CDATA[<?php bloginfo_rss('name'); 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 <description>< ?php bloginfo_rss("description") ?></description>27 <description><![CDATA[<?php bloginfo_rss("description") ?>]]></description> 28 28 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 29 29 <?php the_generator( 'rss2' ); ?> 30 30 <language><?php echo get_option('rss_language'); ?></language> … … 33 33 <?php do_action('rss2_head'); ?> 34 34 <?php while( have_posts()) : the_post(); ?> 35 35 <item> 36 <title>< ?php the_title_rss() ?></title>36 <title><![CDATA[<?php the_title_rss() ?>]]></title> 37 37 <link><?php the_permalink_rss() ?></link> 38 38 <comments><?php comments_link(); ?></comments> 39 39 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> 40 <dc:creator>< ?php the_author() ?></dc:creator>40 <dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator> 41 41 <?php the_category_rss() ?> 42 42 43 43 <guid isPermaLink="false"><?php the_guid(); ?></guid>