diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php
index 3fdade5dd11f..963f31178c1b 100644
|
a
|
b
|
function privOptionDefaultThreshold(&$p_options) |
| 1854 | 1854 | $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit_int*PCLZIP_TEMPORARY_FILE_RATIO); |
| 1855 | 1855 | |
| 1856 | 1856 | |
| 1857 | | // ----- Sanity check : No threshold if value lower than 1M |
| | 1857 | // ----- Confidence check : No threshold if value lower than 1M |
| 1858 | 1858 | if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) { |
| 1859 | 1859 | unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]); |
| 1860 | 1860 | } |