On 23 August 2012 18:01, Harry Metcalfe <harry at dxw.com> wrote: > Hmm -- won't that run for every admin request? Yep, that's why you use the "plugin_db_version" option to effectively store your plugin's database structure version and only run its upgrade/install routine when you bump it.