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

WordPress Trac noreply at wordpress.org
Thu Dec 22 00:11:19 UTC 2022


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

Comment (by azaozz):

 As far as I understand it there are no differences between the use cases
 for the filter in [https://github.com/WordPress/wordpress-
 develop/pull/3791 PR #3791] and `function_exists()` in [54643]. Both are
 intended **to facilitate development of the Rollback feature plugin**. In
 that terms both are temporary and should not be present in a WordPress
 release, only in alpha/beta/RC versions.

 If there are other use cases for such filter that may warrant having it
 permanently in core, please open another (enhancement) ticket about them.

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


More information about the wp-trac mailing list