Ticket #44236: 44236.patch
File 44236.patch, 541 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/file.php
2151 2151 2152 2152 $zip = new ZipArchive; 2153 2153 if ( true === $zip->open( $archive_pathname, ZipArchive::CREATE ) ) { 2154 if ( ! $zip->addFile( $html_report_pathname, 'index.html') ) {2154 if ( ! $zip->addFile( $html_report_pathname, $html_report_filename ) ) { 2155 2155 $error = __( 'Unable to add data to export file.' ); 2156 2156 } 2157 2157