IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 2134 | 2134 | */ |
| 2135 | 2135 | $error = false; |
| 2136 | 2136 | $archive_url = get_post_meta( $request_id, '_export_file_url', true ); |
| 2137 | | $archive_pathname = get_post_meta( $request_id, '_export_file_path', true ); |
| | 2137 | $archive_pathname = $exports_dir . get_post_meta( $request_id, '_export_file_path', true ); |
| 2138 | 2138 | |
| 2139 | 2139 | if ( empty( $archive_pathname ) || empty( $archive_url ) ) { |
| 2140 | 2140 | $archive_filename = $file_basename . '.zip'; |
| … |
… |
|
| 2142 | 2142 | $archive_url = $exports_url . $archive_filename; |
| 2143 | 2143 | |
| 2144 | 2144 | update_post_meta( $request_id, '_export_file_url', $archive_url ); |
| 2145 | | update_post_meta( $request_id, '_export_file_path', wp_normalize_path( $archive_pathname ) ); |
| | 2145 | update_post_meta( $request_id, '_export_file_path', $archive_filename ); |
| 2146 | 2146 | } |
| 2147 | 2147 | |
| 2148 | 2148 | if ( ! empty( $archive_pathname ) && file_exists( $archive_pathname ) ) { |