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

WordPress Trac noreply at wordpress.org
Thu Jun 23 19:46:43 UTC 2022


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

Old description:

> In order to facilitate testing of the Rollback feature using the
> [https://wordpress.org/plugins/rollback-update-failure Rollback Update
> Failure] feature plugin, a conditional testing for the feature plugin is
> needed to utilize the new `move_dir()` function.
>
> @SergeyBiryukov reports precedence for this.
>
> Once committed, [https://github.com/WordPress/wordpress-develop/pull/2225
> PR2225] will be updated to remove it.

New description:

 In order to facilitate testing of the Rollback feature using the
 [https://wordpress.org/plugins/rollback-update-failure Rollback Update
 Failure] feature plugin, a conditional testing for the feature plugin is
 needed to utilize the new `move_dir()` function.

 @SergeyBiryukov reports precedent for this.

 Once committed, [https://github.com/WordPress/wordpress-develop/pull/2225
 PR2225] will be updated to remove it.

--

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


More information about the wp-trac mailing list