Skip to content

Commit 57adce4

Browse files
committed
= 4.3.2.8 =
~ Release.
1 parent 0966f01 commit 57adce4

5 files changed

Lines changed: 161 additions & 120 deletions

File tree

inc/Ajax/ExportOrderCSVAjax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static function get_export_csv_path( string $export_id = '' ): string {
145145
wp_mkdir_p( $dir );
146146
}
147147

148-
return $dir . "/orders-{$export_id}.csv";
148+
return $dir . "/lp-orders-{$export_id}.csv";
149149
}
150150

151151
/**

inc/TemplateHooks/Order/AdminOrderListTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function add_export_order_button( $which ) {
3232

3333
$order_data = [
3434
'action' => 'export_order_csv',
35-
'export_id' => time(),
35+
'export_id' => time() . '-' . uniqid(),
3636
];
3737

3838
$data_get = LP_Helper::sanitize_params_submitted( $_GET );

0 commit comments

Comments
 (0)