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

WordPress Trac noreply at wordpress.org
Tue Nov 30 17:10:33 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"52284" 52284]:
 {{{
 #!CommitTicketReference repository="" revision="52284"
 Upgrade/Install: Check that WordPress is installed before scheduling
 cleanup of the `temp-backup` directory.

 Trying to schedule cron jobs before WordPress is installed results in DB
 errors, which is suboptimal.

 This addresses a  `Table 'wp_options' doesn't exist` error when running
 the installation with `WP_DEBUG` enabled.

 Follow-up to [51815], [51898], [51899], [51902], [52192].

 Props dlh, pbiron.
 See #51857.
 }}}

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


More information about the wp-trac mailing list