[wp-trac] [WordPress Trac] #57386: Add filter to WP_Upgrader::install_package for copy_dir()

WordPress Trac noreply at wordpress.org
Thu Jan 5 00:59:47 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):

 Please refer to my
 [https://core.trac.wordpress.org/ticket/56057#comment:13 comment from
 June] suggesting the `update-custom_{$action}` hook as a suitable generic
 hook.

 As discussed in Slack last week, the sibling hook `update-core-
 custom_{$action}` is available on the update core pages.

 These hooks have been used previously when the updaters have been updated.

 I've been suggesting this course of action for over six months. I'm
 willing and eager to test rollbacks but when my feedback isn't listened to
 it will slow the process down.

 I suggest reclosing this ticket and reviewing all the notes Tonya and I
 (among others) have provided so a robust approach supporting known
 environments can be found.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57386#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list