[wp-trac] [WordPress Trac] #12149: Filter for installed plugins in validate_plugin()

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 24 01:26:22 UTC 2010


#12149: Filter for installed plugins in validate_plugin()
----------------------------+-----------------------------------------------
 Reporter:  jfarthing84     |       Owner:                        
     Type:  enhancement     |      Status:  new                   
 Priority:  normal          |   Milestone:  3.0                   
Component:  Administration  |     Version:  2.9.1                 
 Severity:  normal          |    Keywords:  dev-feedback has-patch
----------------------------+-----------------------------------------------

Comment(by strider72):

 In WP 2.9 there is a get_file_data function (used by both get_plugin_data
 and get_theme_data).  You could put headers in your sub-plugins that WP
 won't recognize as a
 Plugin (I think if you simply omit "Name"...), then use a custom wrapper
 for get_file_data to read the sub-plugin data when you need it.

 In other words, this can readily be done right now with WP 2.9.

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


More information about the wp-trac mailing list