[wp-trac] [WordPress Trac] #56057: Add conditional to WP_Upgrader::install_package() for Rollback testing

WordPress Trac noreply at wordpress.org
Mon Jun 27 19:09:52 UTC 2022


#56057: Add conditional to WP_Upgrader::install_package() for Rollback testing
-----------------------------+-----------------------------
 Reporter:  afragen          |       Owner:  SergeyBiryukov
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:  6.1
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------

Comment (by afragen):

 It seems that `install_package()` fires much before this hook. We need to
 prevent the `copy_dir()` in `install_package()` from firing except for
 when we want.

 Not sure we can utilize this hook.

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


More information about the wp-trac mailing list