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.


git-svn-id: https://develop.svn.wordpress.org/trunk@25774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-10-14 20:14:13 +00:00
parent ddf6da1d8c
commit 5db3863d12
2 changed files with 17 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '3.7-beta2-25773-src';
$wp_version = '3.7-beta2-25774-src';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.