Opened 7 years ago
Last modified 18 months ago
#42448 new enhancement
Add 'upgrader_pre_unpack' hook
Reported by: | jdgrimes | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | Cc: |
Description
The WP_Upgrader
class provides several hooks that can be used to modify the upgrader process. There is an 'upgrader_pre_download'
hook, for example. But there is no hook that fires after download but before the package is unpacked. It would be nice to add such a hook, which for example could be used to verify a package's signature, or override the unpacking code entirely.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Introduce upgrader_pre_unpack filter prior to unpacking the package.