[wp-trac] [WordPress Trac] #2438: Change feed action hooks to
filters.
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 13 01:51:34 GMT 2006
#2438: Change feed action hooks to filters.
----------------------------+-----------------------------------------------
Id: 2438 | Status: new
Component: Administration | Modified: Mon Feb 13 01:51:34 2006
Severity: enhancement | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: majelbstoat | Reporter: majelbstoat
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/2438>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list