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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 19 18:24:00 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):

 Two files added:
 1) New patch that updates for current code and solidifies security
 2) Demo plugin

 Demo plugin both adds headers and has notes in source showing what's
 happening.

 Demo plugin also has faux "malicious" hook which demonstrates that
 attempts to alter default headers should fail; this patch *only* allows
 the addition of new headers.

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


More information about the wp-trac mailing list