[wp-trac] [WordPress Trac] #25576: Check the available disk space before attempting upgrades

WordPress Trac noreply at wordpress.org
Mon Oct 14 20:14:14 UTC 2013


#25576: Check the available disk space before attempting upgrades
-----------------------------+---------------------
 Reporter:  dd32             |       Owner:  nacin
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25774"]:
 {{{
 #!CommitTicketReference repository="" revision="25774"
 In unzip_file(), confirm we have enough available disk space before
 extracting.

 "enough" is calculated by adding up the uncompressed size of the files in
 the archive, then adding a 20% buffer.

 props dd32.
 fixes #25576.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25576#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list