Ticket #54036: pclzip.diff
File pclzip.diff, 549 bytes (added by , 3 years ago) |
---|
-
wp-admin/includes/class-pclzip.php
2673 2673 return PclZip::errorCode(); 2674 2674 } 2675 2675 2676 // ----- Read the file content 2677 $v_content = @fread($v_file, $p_header['size']); 2678 2676 if ( $p_entry['compressed_size'] > 0 ) { 2677 // ----- Read the file content 2678 $v_content = @fread($v_file, $p_header['size']); 2679 } 2680 else { 2681 $v_content = ''; 2682 } 2683 2679 2684 // ----- Close the file 2680 2685 @fclose($v_file); 2681 2686