[wp-trac] [WordPress Trac] #50849: Incorrect action passed to hooks when updating plugin/theme by uploading ZIP file
WordPress Trac
noreply at wordpress.org
Tue Aug 4 19:55:26 UTC 2020
#50849: Incorrect action passed to hooks when updating plugin/theme by uploading
ZIP file
-----------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-----------------------------+-----------------------------
When a plugin or theme is being upgraded or downgraded by uploading a new
zip file as added in #9757, the `action` passed in `$hook_extra` to the
`upgrader_process_complete` action hook is always `install`, regardless of
the action being taken.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list