Skip to content

Commit

Permalink
Fix finished message filter
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
gdarko committed Sep 19, 2023
1 parent da9044d commit be2a7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-batch-ajax-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit be2a7a7

Please sign in to comment.