[wp-trac] [WordPress Trac] #58281: Rollback Auto-Update (Rollback part 3)

WordPress Trac noreply at wordpress.org
Fri May 10 11:47:08 UTC 2024


#58281: Rollback Auto-Update (Rollback part 3)
-------------------------------------------------+-------------------------
 Reporter:  afragen                              |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Upgrade/Install                      |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  testing has-testing-info early commit          |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"58128" 58128]:
 {{{
 #!CommitTicketReference repository="" revision="58128"
 Upgrade/Install: Automatically roll back to the previous version when an
 automatic plugin update results in a fatal error on the front end of the
 site.

 This builds on the temporary backup system introduced in 6.3 to allow
 automatic updates to benefit from fatal error protection. A loopback
 request is performed to the home page of the site and the plugin is rolled
 back to its backed up version if a fatal error is observed.

 For debugging and observability during beta, this change includes several
 calls to `error_log()` during the upgrade and rollback stages. These calls
 can be removed or placed behind a flag once we're ready for RC1.

 Props costdev, johnbillion, mukesh27, afragen, audrasjb, justlevine,
 kirasong, peterwilsoncc

 Fixes #58281
 }}}

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


More information about the wp-trac mailing list