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

WordPress Trac noreply at wordpress.org
Thu Jun 23 20:09:36 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 early  |     Focuses:
-----------------------------+---------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch early


Comment:

 The patch looks good to me.

 Are we sure the below indentation is compliant to WP coding standards?


 {{{#!php
                 if ( class_exists( 'Rollback_Update_Failure\WP_Upgrader' )
                         && function_exists(
 '\Rollback_Update_Failure\move_dir' )
                 ) {

 }}}

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


More information about the wp-trac mailing list