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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 2 17:35:21 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):

 New patch 6 includes everything from patch 5 except:

 1. Fixed bug that missed outputting "Theme" in get_theme_data.  Identical
 to "Name", but presumably for backward compatibility?  I'm just matching
 the output of get_theme_data as it already exists.

 2. get_theme_data now also outputs "AuthorURI".  Just a side-effect of how
 the new function works -- previous patch explicitly removed it, but why
 bother?  Also brings it closer to parity with get_plugin data.  Happy side
 effect, I say. :)

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


More information about the wp-trac mailing list