Make WordPress Core

Opened 7 years ago

Last modified 18 months ago

#42448 new enhancement

Add 'upgrader_pre_unpack' hook

Reported by: jdgrimes's profile 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)

42448.diff (1.2 KB) - added by NathanAtmoz 7 years ago.
Introduce upgrader_pre_unpack filter prior to unpacking the package.

Download all attachments as: .zip

Change History (3)

@NathanAtmoz
7 years ago

Introduce upgrader_pre_unpack filter prior to unpacking the package.

#1 @NathanAtmoz
7 years ago

  • Keywords has-patch added

This ticket was mentioned in Slack in #core-upgrade-install by costdev. View the logs.


18 months ago

Note: See TracTickets for help on using tickets.