Make WordPress Core

Ticket #43908: 43908.diff

File 43908.diff, 529 bytes (added by xkon, 6 years ago)
  • src/wp-admin/includes/file.php

     
    21602160
    21612161        // Save the export file in the request.
    21622162        update_post_meta( $request_id, '_export_file_url', $archive_url );
    2163         update_post_meta( $request_id, '_export_file_path', $archive_pathname );
     2163        update_post_meta( $request_id, '_export_file_path', wp_normalize_path( $archive_pathname ) );
    21642164}
    21652165
    21662166/**