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

WordPress Trac noreply at wordpress.org
Mon Jun 27 10:00:49 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 SergeyBiryukov):

 Replying to [comment:11 peterwilsoncc]:
 > Is there a reason the use of `do_action( "update-custom_{$action}" );`
 in `src/wp-admin/update.php` wasn't expanded to allow the use of custom
 updaters within the built-in actions?

 Thanks for bringing this up! I had not considered using that hook and
 would be happy to explore that path.

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


More information about the wp-trac mailing list