[wp-trac] [WordPress Trac] #15536: Introduce register_plugin

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 22 12:03:24 UTC 2010


#15536: Introduce register_plugin
-------------------------+--------------------------------------------------
 Reporter:  filosofo     |       Owner:  filosofo        
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  Future Release  
Component:  Plugins      |     Version:                  
 Severity:  normal       |    Keywords:  has-patch, close
-------------------------+--------------------------------------------------

Comment(by scribu):

 I have a similar function in my scb Framework, but it's necessary only
 because I need to do some extra stuff to get activation hooks to work.

 I don't think the amount of duplicated code saved is worth the extra level
 of indirection.

 Plugin authors would still need to learn about register_plugin(), instead
 of learning the name of the appropriate hook.

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


More information about the wp-trac mailing list