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

WordPress Trac noreply at wordpress.org
Sat Oct 9 02:49:16 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 has-patch needs-testing                  |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51898" 51898]:
 {{{
 #!CommitTicketReference repository="" revision="51898"
 Site Health: Use an integer value as a fallback in the available disk
 space check.

 This avoids a few type problems further in the code: boolean divided by a
 number, or passing `false` to `size_format()` which is documented to
 accept integers or strings only.

 Follow-up to [51815].

 Props TobiasBg.
 See #51857.
 }}}

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


More information about the wp-trac mailing list