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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 20 21:47:28 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 nacin):

 As said over wp-hackers by someone else: I don't think it is a good idea
 to assume that upgrades to plugins/themes are made through the WP admin

 Take, for example, SVN. Introducing a new hook here is only going to cause
 inconsistencies. At least activation and deactivation we can largely
 control. (Deactivation less so, as the files can vanish.) Schema upgrades
 are probably best handled on a case by case basis.

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

More information about the wp-trac mailing list