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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 24 15:15:02 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:  General                  |      Version:  2.1.1      
 Severity:  normal                   |   Resolution:             
 Keywords:  needs-testing has-patch  |  
-------------------------------------+--------------------------------------
Comment (by Otto42):

 Replying to [comment:6 joostdevalk]:
 > This fix is heavily needed as there is no way to change the content of
 an rss2 feed at the moment other than hacking the source...

 Wha? Sure there is. Add a filter to the_content and use an if (is_feed())
 type of statement.

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


More information about the wp-trac mailing list