[wp-trac] Re: [WordPress Trac] #8964: Allow adding headers to
get_plugin_data
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 10 21:19:27 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
-------------------------+--------------------------------------------------
Comment(by strider72):
One more comment about making plugins "register" their own custom headers:
There are cases where you want the header to be returned even for plugins
that are not activated. Again, the version check plugin is a good
example. If a plugin has to register itself, this can't be done unless
the plugin is actively running. What I'm trying to do is simply make it
so any plugin can check plugins (itself or others) for additional specific
headers.
Of course, if you want to check a header and only have a function do
something to Plugin X, your function can be coded to only act if it's
dealing with Plugin X... but that's up to the programmer.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8964#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list