Skip to content

Commit

Permalink
Change start button to continue if some items are already processed
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Sep 19, 2023
1 parent 7e1a72a commit eb01ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/batch-manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<div class="batch-process-actions">
<?php if ( ! $batch->is_finished() ): ?>
<button class="button-primary" id="batch-process-start">Start</button>
<button class="button-primary" id="batch-process-start"><?php $processed_count > 0 && $processed_count < $items_count ? _e('Continue') : _e('Start'); ?></button>
<button class="button" id="batch-process-restart">Restart</button>
<button class="button batch-process--button-stop" id="batch-process-stop">Stop</button>
<?php else: ?>
Expand Down

0 comments on commit eb01ca4

Please sign in to comment.