[wp-trac] [WordPress Trac] #42448: Add 'upgrader_pre_unpack' hook
WordPress Trac
noreply at wordpress.org
Mon Nov 6 21:38:52 UTC 2017
#42448: Add 'upgrader_pre_unpack' hook
-----------------------------+-----------------------------
Reporter: jdgrimes | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42448>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list