Change feed action hooks to filters.
|Reported by:||majelbstoat||Owned by:||majelbstoat|
|Severity:||normal||Keywords:||feed action filter hook|
At the moment, we can't edit rss or atom head information in feeds, just add to it. It would be better to change rss_head, rss2_head, atom_head (and probably the others too) to filter hooks passing the information that has already been presented so we can preg_replace or str_replace it.
The specific case I'm trying to solve is editing the language entry in the feed head section. At the moment, the only way to do that is to alter the database rss_language option every time a feed is called, which is unfeasible.