#6783 closed defect (bug) (invalid)
pass filtered content when generating rss2 feed
Reported by: | hailin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
when we generate rss2 feed, we pass in raw post->content. We should filter the content first in order to parse the shortcodes, if there are any, then call do_action('rss2_item').
also aligned the formatting a little bit.
Attachments (1)
Change History (5)
#1
@
17 years ago
- Milestone 2.7 deleted
- Resolution set to wontfix
- Status changed from new to closed
- Version set to 2.5
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.
Note: See
TracTickets for help on using
tickets.
patch