[wp-hackers] Will Activation Hook Be Executed During Plugin Upgradation?

scribu scribu at gmail.com
Mon Sep 20 22:19:41 UTC 2010

On Tue, Sep 21, 2010 at 1:16 AM, Ken (WraithKenny)
<ken.adcstudio at gmail.com>wrote:

> Should we extend the  API?
> Have activation hook add an option entry for the version automatically.
> (and
> a legacy check to add it if it's missing).
> Have a upgrade/update hook that checks version against version option, so
> that it handles uploaded upgrades (and maybe checked on
> activation/deactivation calls to be sure its caught?)
> Have uninstall hook delete option on uninstall automatically.
> This would be nice, as it's less burden on the plugin devs and has all the
> benefits of an API (core adds checks and features without devs missing
> them.)

I agree.

It's interesting when people independently reach similar conclusions:



More information about the wp-hackers mailing list