[wp-trac] [WordPress Trac] #52281: Updating plugin by upload and replace current should run activation hook function
WordPress Trac
noreply at wordpress.org
Tue Jan 12 12:46:15 UTC 2021
#52281: Updating plugin by upload and replace current should run activation hook
function
-------------------------+-----------------------------
Reporter: opajaap | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 5.6
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52281>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list