Ticket #3884: patch.diff
File patch.diff, 2.0 KB (added by , 18 years ago) |
---|
-
wp-includes/feed-rss2.php
36 36 <?php else : ?> 37 37 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 38 38 <?php if ( strlen( $post->post_content ) > 0 ) : ?> 39 <content:encoded><![CDATA[<?php the_content () ?>]]></content:encoded>39 <content:encoded><![CDATA[<?php the_content_rss('', 0, '',0 , 3) ?>]]></content:encoded> 40 40 <?php else : ?> 41 41 <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> 42 42 <?php endif; ?> -
wp-includes/feed-atom.php
38 38 <?php the_category_rss('atom') ?> 39 39 <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 40 40 <?php if ( !get_option('rss_use_excerpt') ) : ?> 41 <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> 41 <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"> 42 <![CDATA[<?php the_content_rss('', 0, '',0 , 3) ?>]]> 43 </content> 42 44 <?php endif; ?> 43 45 <?php atom_enclosure(); ?> 44 46 <?php do_action('atom_entry'); ?> -
wp-includes/feed-rdf.php
43 43 <description><?php the_excerpt_rss() ?></description> 44 44 <?php else : ?> 45 45 <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?></description> 46 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 46 <content:encoded><![CDATA[<?php the_content_rss('', 0, '',0 , 3) ?>]]></content:encoded> 47 47 48 <?php endif; ?> 48 49 <?php do_action('rdf_item'); ?> 49 50 </item>