[wp-cvs] wordpress wp-rss2.php,1.32,1.33

Matthew Mullenweg saxmatt at users.sourceforge.net
Sat Jan 22 03:45:37 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18060

Modified Files:
	wp-rss2.php 
Log Message:
More escaping of description and cleaner default feed URIs.

Index: wp-rss2.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-rss2.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** wp-rss2.php	9 Jan 2005 02:19:30 -0000	1.32
--- wp-rss2.php	22 Jan 2005 03:45:35 -0000	1.33
***************
*** 36,42 ****
  		<guid><?php the_permalink($id); ?></guid>
  <?php if (get_settings('rss_use_excerpt')) : ?>
! 		<description><?php the_excerpt_rss() ?></description>
  <?php else : ?>
! 		<description><?php the_excerpt_rss() ?></description>
  	<?php if ( strlen( $post->post_content ) > 0 ) : ?>
  		<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
--- 36,42 ----
  		<guid><?php the_permalink($id); ?></guid>
  <?php if (get_settings('rss_use_excerpt')) : ?>
! 		<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
  <?php else : ?>
! 		<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
  	<?php if ( strlen( $post->post_content ) > 0 ) : ?>
  		<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>



More information about the cvs mailing list