[wp-trac] Re: [WordPress Trac] #3884: the_content_rss() is used incorrectly in non RSS feeds.

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 30 22:28:32 GMT 2007


#3884: the_content_rss() is used incorrectly in non RSS feeds.
-------------------------------------+--------------------------------------
 Reporter:  jeroyang                 |        Owner:  joostdevalk
     Type:  defect                   |       Status:  new        
 Priority:  normal                   |    Milestone:  2.4        
Component:  Template                 |      Version:  2.1.1      
 Severity:  normal                   |   Resolution:             
 Keywords:  needs-testing has-patch  |  
-------------------------------------+--------------------------------------
Comment (by fuggi):

 I also thing that the rss2 feed should use the_content_rss function and
 not the_content, the attatched diff looks fine for me!

 the_content filters should not be applied to the the_content_rss function,
 that does not make sense and the is_feed() check is only a workarround for
 that. Plugin developers should have possibility to add filters to
 get_the_content if they want to have their filter applied all the time or
 they have to add their filter twice. This ticket goes into the same
 direction (filter with the excerpt and post):
 http://trac.wordpress.org/ticket/4679

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


More information about the wp-trac mailing list