[wp-trac] [WordPress Trac] #8964: Allow adding headers to get_plugin_data

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 29 17:37:04 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):

 In patch 5, there's a minor error in the documentation/header for the
 get_file_data() function.  We need to remove the line:

 {{{ * @param bool $translate If the returned data should be translated}}}

 and insert the line:

 {{{ * @param string $context If included, a filter hook
 "extra_<$context>_headers" will allow other code to alter the headers
 array}}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8964#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list