[wp-trac] Re: [WordPress Trac] #6783: pass filtered content when
generating rss2 feed
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 21 05:27:19 GMT 2008
#6783: pass filtered content when generating rss2 feed
---------------------+------------------------------------------------------
Reporter: hailin | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.5
Severity: normal | Resolution: wontfix
Keywords: |
---------------------+------------------------------------------------------
Changes (by Viper007Bond):
* status: new => closed
* version: => 2.5
* resolution: => wontfix
* milestone: 2.7 =>
Comment:
There is no need to pass the content to the `rss2_item` hook, especially
the filtered content. If you need it, just global `$post` inside your
plugin. It's just a normal Loop.
And your formatting just adds tons of unneeded line breaks.
--
Ticket URL: <http://trac.wordpress.org/ticket/6783#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list