[wp-trac] [WordPress Trac] #57386: Add filter to WP_Upgrader::install_package for copy_dir()
WordPress Trac
noreply at wordpress.org
Thu Jan 5 04:07:44 UTC 2023
#57386: Add filter to WP_Upgrader::install_package for copy_dir()
-----------------------------+--------------------------
Reporter: afragen | Owner: (none)
Type: feature request | Status: reopened
Priority: normal | Milestone: 6.2
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
-----------------------------+--------------------------
Comment (by peterwilsoncc):
Yes, using those hooks would require some amount of reproducing Core. The
last big change to the updater, Shiny Updates, included a custom list
table, replaced Core ajax functionality. It's a well travelled path.
My experience is that this is is substantially more complicated than
replacing `copy_dir` and using the custom hooks will allow for the various
suggestions made over the last few months to be tested.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57386#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list