[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates

WordPress Trac noreply at wordpress.org
Sun Mar 6 16:41:29 UTC 2022

#51857: Add rollback for failed plugin/theme updates
 Reporter:  pbiron                               |       Owner:  pbiron
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.0
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  early has-testing-info needs-unit-   |     Focuses:
  tests needs-testing has-patch                  |

Comment (by pbiron):

 For some reason, I'm not able to push changes to the
 develop/pull/2225#issuecomment-1027369433 latest PR] (get a "permission
 denied" error).  So, I'm uploading them here as patch.

 Could @afragen or @SergeyBiryukov please update the PR accordingly.

 The patch doesn't change the rollback functionality, it just fixes some
 things with the changes to `site health` in the PR:

 1. fixes minor HTML errors in 2 of the new site health tests
 2. adds `WP_RUNTIME_ENVIRONMENT` to the `WordPress Constants` section of
 the site health `debug data` screen

Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:190>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list