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

Andrew Nacin wp at andrewnacin.com
Mon Sep 27 19:02:49 UTC 2010

On Mon, Sep 27, 2010 at 1:33 PM, Milan Dinić <liste at srpski.biz> wrote:

> So until we get a solution for this in core, what do you recommend as a
> lightweight solution, assuming that we have plugin version stored in
> options?

I run an upgrade routine on admin_init. Here's what I use:

In action:

More information about the wp-hackers mailing list