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

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

 Replying to [comment:9 scribu]:
 > Not at all. Plugins that would call register_upgrade_hook() would have
 their current version stored in the DB, and then, only on each admin page
 load check that option, which would get autoloaded anyway.

 Rather than just store versions, why not store more plugin metadata?

 See: http://wordpress.stackexchange.com/questions/361/

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


More information about the wp-trac mailing list