WordPress.org

Make WordPress Core

Opened 7 months ago

#52281 new enhancement

Updating plugin by upload and replace current should run activation hook function

Reported by: opajaap Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.6
Component: Plugins Keywords:
Focuses: Cc:

Description

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

This may lead to unwanted behaviour when the activation function calls dbDelta().

The request is to run the activation hook function in this case, making this way to install a dfifferent version functionally equivalent to the regular update procedure.

Change History (0)

Note: See TracTickets for help on using tickets.