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

Ken (WraithKenny) ken.adcstudio at gmail.com
Mon Sep 20 22:52:58 UTC 2010


Damn, beat me by a half hour!

On Mon, Sep 20, 2010 at 6:19 PM, scribu <scribu at gmail.com> wrote:

> 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:
>
> http://core.trac.wordpress.org/ticket/14912#comment:3
>
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list