#6783 closed defect (bug) (invalid)
pass filtered content when generating rss2 feed
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | |
| 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)
comment:1
Viper007Bond — 5 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.
comment:2
Viper007Bond — 5 years ago
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:3
Viper007Bond — 5 years ago
- Resolution set to invalid
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.

patch