[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:50:16 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):

 "This" is the rollbacks plugin mentioned in the description of this
 ticket.

 As I mentioned above, both @azaozz and I reviewed the code in the
 [https://github.com/WordPress/wordpress-develop/pull/3805/files linked
 pull request #3805] prior to Christmas in its earlier incarnation in
 [https://github.com/WordPress/wordpress-develop/pull/3791/files pull
 request #3791] linked to #56057.

 Both of us have expressed reservations to exactly the same code this
 ticket proposes in the ticket linked in the description, #56057. It was
 out of that discussion that the use of the generic hooks was resuggested,

 If asked again, I am happy to repost my suggestion that other generic
 hooks be used rather than introducing a new hook that serves the single
 purpose of rollback testing.

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


More information about the wp-trac mailing list