[wp-trac] [WordPress Trac] #3884: the_content_rss() is used correctly in wp-rdf.php, wp-rss2.php and wp-atom.php

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 27 17:23:36 GMT 2007


#3884: the_content_rss() is used correctly in wp-rdf.php, wp-rss2.php and wp-
atom.php
----------------------+-----------------------------------------------------
 Reporter:  jeroyang  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:           
Component:  General   |     Version:  2.1.1    
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 Plugins using the filter "the_content_rss" are never applied in the RSS2
 and Atom feeds, and still not working in the <content:encoded> tag of the
 RDF feed.

 Line 45 in wp-rss2.php should be:

 {{{
 <content:encoded><![CDATA[<?php the_content_rss('', 0, '',, 2)
 ?>]]></content:encoded>
 }}}

 Line 39 in wp-atom.php should be:

 {{{
 <content type="<?php bloginfo('html_type'); ?>" mode="escaped"
 xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php
 the_content_rss('', 0, '',, 2) ?>]]></content>
 }}}

 Line 52 in wp-rdf.php should be:
 {{{
 <content:encoded><![CDATA[<?php the_content_rss('', 0, '',, 2)
 ?>]]></content:encoded>
 }}}

 or something like that...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3884>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list