From be2a7a7b30423df09a4dd1c8098c71fa249d49dd Mon Sep 17 00:00:00 2001 From: Darko Gjorgjijoski Date: Tue, 19 Sep 2023 18:02:16 +0200 Subject: [PATCH] Fix finished message filter Closes #8 --- includes/class-batch-ajax-handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-batch-ajax-handler.php b/includes/class-batch-ajax-handler.php index 93ef669..10fa43a 100644 --- a/includes/class-batch-ajax-handler.php +++ b/includes/class-batch-ajax-handler.php @@ -75,7 +75,7 @@ public function process_next_item() { $percentage = $batch->get_percentage(); $batch->finish(); wp_send_json_success( array( - 'message' => apply_filters( 'dg_batch_item_error_message', __( 'Processing finished.', 'wp-batch-processing' ) ), + 'message' => apply_filters( 'dg_batch_item_finished_message', __( 'Processing finished.', 'wp-batch-processing' ) ), 'is_finished' => 1, 'total_processed' => $total_processed, 'total_items' => $total_items,