[wp-trac] [WordPress Trac] #14912: Introduce register_upgrade_hook()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 22 13:44:18 UTC 2010


#14912: Introduce register_upgrade_hook()
-----------------------------+----------------------------------------------
 Reporter:  scribu           |       Owner:                
     Type:  enhancement      |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Upgrade/Install  |     Version:                
 Severity:  normal           |    Keywords:  needs-patch   
-----------------------------+----------------------------------------------

Comment(by scribu):

 It's not the same thing. is_plugin_active_for_network() checks if a plugin
 is network-activated.

 Themes can't be network activated and plugin_basename() probably doesn't
 work either.

 So, I think we should make a separate function for themes (in a separate
 ticket).

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


More information about the wp-trac mailing list