[wp-trac] [WordPress Trac] #3884: Refactor the_content_rss() to the_content_feed()
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 25 20:40:28 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 ryan):
I don't think we need to bother with having "short" support in
the_content_feed(). the_excerpt_rss() seems like the right thing to use
for that scenario. Plus, it's only done in rdf and rss, which people want
to rip out anyway.
I don't think your patch does the replace for ']]>'. I kept it since
the_content() does it. We're calling get_the_content(), which doesn't do
it for some reason, so we have to add the filter on the_content and the
replace on ']]>' back in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/3884#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list