[wp-trac] Re: [WordPress Trac] #8964: Allow adding headers to
get_plugin_data
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 26 05:39:15 GMT 2009
#8964: Allow adding headers to get_plugin_data
---------------------------------------+------------------------------------
Reporter: strider72 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch plugins filters |
---------------------------------------+------------------------------------
Changes (by strider72):
* cc: strider72 (added)
Comment:
Another idea is that perhaps it would be best to only allow the plugin to
specify the header, e.g. "New Plugin Header", and the array key for
get_plugin_data would be auto-generated from that, e.g.
{{{$plugin_data['NewPluginHeader]}}}. Might make it more difficult for
two plugins using this from interfering with each other. I'm not sure how
this would best work though. Perhaps the key should just be the unaltered
Plugin header, e.g. {{{$plugin_data['New Plugin Header']}}} ?
--
Ticket URL: <http://trac.wordpress.org/ticket/8964#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list