[wp-trac] [WordPress Trac] #8964: Allow adding headers to get_plugin_data
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 29 18:31:07 UTC 2009
#8964: Allow adding headers to get_plugin_data
-------------------------+--------------------------------------------------
Reporter: strider72 | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.9
Component: Plugins | Version:
Severity: normal | Keywords: has-patch tested commit early
-------------------------+--------------------------------------------------
Comment(by strider72):
Note: somewhere down the road when WordPress moves to PHP 5+, all the
"array_flippery" can be reduced to one line:
{{{$extra_headers = array_combine( $extra_headers, $extra_headers );}}}
As I see it, the only change now is to change the "plugin_headers" hook to
"extra_plugin_headers".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8964#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list