[wp-trac] [WordPress Trac] #13698: register_activation_hook for themes too.

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 12:28:19 UTC 2010


#13698: register_activation_hook for themes too.
-----------------------------+----------------------------------------------
 Reporter:  F J Kaiser       |       Owner:            
     Type:  feature request  |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  General          |     Version:            
 Severity:  normal           |    Keywords:            
-----------------------------+----------------------------------------------
 Currently you can use the complete Settings API for themes too. No, not
 the complete. register_activation_hook is only avaible for plugins. Why do
 we have to use basename plugindirectory there? If this wouldn't be that
 way, we could use it for ex. default values on theme options too.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13698>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list