Ticket #46766: 46766.diff
File 46766.diff, 506 bytes (added by , 6 years ago) |
---|
-
wp-admin/includes/file.php
diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index bbae7bed4d..02dfae4c52 100644
a b function unzip_file( $file, $to ) { 1279 1279 if ( ! $wp_filesystem->is_dir( $dir ) ) { 1280 1280 $needed_dirs[] = $dir; 1281 1281 } else { 1282 break; // A folder exists, therefor, we don t need the check the levels below this1282 break; // A folder exists, therefor, we don't need the check the levels below this 1283 1283 } 1284 1284 } 1285 1285 }