Opened 9 years ago
Last modified 3 years ago
#42448 new enhancement
Add 'upgrader_pre_unpack' hook
| Reported by: | jdgrimes | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Introduce upgrader_pre_unpack filter prior to unpacking the package.