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

WordPress Trac noreply at wordpress.org
Sun Jun 26 23:38:40 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:
-----------------------------+-----------------------------
Changes (by peterwilsoncc):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I am not fond of the snowflake code for a feature plugin here. While
 WordPress has a commitment to backward compatibility it is going to have
 to stick around for a long time.

 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?

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


More information about the wp-trac mailing list