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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 20 20:34:52 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   
-----------------------------+----------------------------------------------
 Currently, plugin authors overload the activation hook with routines for
 upgrading from older versions.

 We should have a dedicated hook for when plugins are upgraded.

 The activation hook should only be fired when the plugin is activated by
 the user.

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


More information about the wp-trac mailing list