diff --git a/src/classes/class-tainacan-background-process.php b/src/classes/class-tainacan-background-process.php index 05f9bac8a..abe9d75c5 100644 --- a/src/classes/class-tainacan-background-process.php +++ b/src/classes/class-tainacan-background-process.php @@ -191,6 +191,9 @@ abstract class Background_Process extends \Tainacan_WP_Background_Process { if ($status == 'finished') { $params['progress_label'] = __('Process completed','tainacan'); $params['progress_value'] = 100; + } else if ($status == 'finished-errors') { + $params['progress_label'] = __('Process completed with errors','tainacan'); + $params['progress_value'] = 100; } $wpdb->update( $this->table,