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

Andrew Nacin wp at andrewnacin.com
Mon Sep 20 18:35:46 UTC 2010


On Mon, Sep 20, 2010 at 2:14 PM, Milan Dinić <liste at srpski.biz> wrote:

> I belive that most people thought that it is used on every activation. Even
> if plugin is updated, it is still activated.


It should be noted that plugin deactivation hooks are *not* fired on
updates. Those are explicitly suppressed. Only activation hooks are
fired. Personally, I don't see why we're not silencing both.


More information about the wp-hackers mailing list