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

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 21 01:11:58 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):

 > The function register_update_hook accepts three parameters - the plugin
 filename, a callback function, and the plugin version the system is
 expecting - this version should be the same as the current version of the
 plugin and is explicitly set by the plugin.

 Is the third parameter really necessary?

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


More information about the wp-trac mailing list