Plugin add upload replace issue

When installing a plugin by Add new -> Upload -> Replace existing, the registered activation hook function appears not to be called.

Is this intentionally or just a forgotten action?

The issue is that, when installing such a version, when it has different db table specifications, the function dbDelta() – that is called in the activation hook function – is not called, what may lead to unpredictable results.

If there is no important reason not to execute the activation hook function in this case, i would like this issue to be treated as a request for enhancement, so this way of installing will become functionally equivalent to updating the regular way.



Source link