[wp-trac] Re: [WordPress Trac] #8964: Allow adding headers to
get_plugin_data
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 10 16:39:51 GMT 2009
#8964: Allow adding headers to get_plugin_data
-------------------------+--------------------------------------------------
Reporter: strider72 | Owner: westi
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.8
Component: Plugins | Version:
Severity: normal | Keywords: has-patch plugins filters
-------------------------+--------------------------------------------------
Changes (by westi):
* owner: => westi
* status: new => assigned
Comment:
This looks like a good idea.
We definitely need to ensure the changes are additive.
We should also support the same for themes so could you do a patch for
that too?
I think the plugin_data_headers filter should be plugin specific to
encourage correct programming with a helper function for registering for
it like the activate/deactivate ones.
That should ensure that plugins are written to use it correctly and saves
the code you have to check in the action for it being for you.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8964#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list