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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 24 02:28:11 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 jfarthing84):

 The point was to be able to use the built-in functions to activate and
 deactivate my "modules". This can't be done because activate_plugin() uses
 validate_plugin() which will return false because it only reads the 'wp-
 plugins' directory. Point blank.

 But, there are ways around it, so it doesn't really matter.

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


More information about the wp-trac mailing list