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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 20 21:54:27 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 ericmann):

 WordPress could automatically verify plug-in versions on `init`.  We
 already store a list of active plug-ins in the DB ... it would be fairly
 trivial to pass an expected plug-in version with the upgrade hook and
 check it against whatever version was "active" on the site.  If the two
 version numbers are different, we can assume an update has happened
 (either though the UI, via SVN, or via FTP) and call the appropriate

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

More information about the wp-trac mailing list