[wp-trac] [WordPress Trac] #3884: Refactor the_content_rss() to the_content_feed()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 25 22:30:24 UTC 2009


#3884: Refactor the_content_rss() to the_content_feed()
--------------------------+-------------------------------------------------
 Reporter:  jeroyang      |       Owner:  Viper007Bond
     Type:  defect (bug)  |      Status:  assigned    
 Priority:  normal        |   Milestone:  2.9         
Component:  Feeds         |     Version:  2.1.1       
 Severity:  normal        |    Keywords:  has-patch   
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 I considered using `the_excerpt_rss()`, but didn't want to change current
 behavior. If one were to define a custom excerpt, that would display with
 your patch (up to any length) and it wouldn't in mine or the current. I'm
 not familiar enough with the RSS1/RDF spec to know if that's okay or not
 (i.e. why it was length limited in the first place). Then again (as you
 said), should we really care about RSS1/RDF?

 `]]>` was an oversight on my part. I always forget that `the_content()`
 does extra things over `get_the_content()`.

 I do like what feed it is being passed to the filter.

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


More information about the wp-trac mailing list