← All changes
|
admin/import-export/batch-processing/elementor/class-wpfnl-elementor-batch.php
+1
-1
2.8.16
→
3.13.3
View file →
| @@ -30,9 +30,8 @@ | ||
| 30 | 30 | * @inheritDoc |
| 31 | 31 | */ |
| 32 | 32 | protected function task( $item ) { |
| 33 | 33 | $elementor_source = new Wpfnl_Elementor_Source(); |
| 34 | - | |
| 35 | 34 | $elementor_source->import_single_template( $item ); |
| 36 | 35 | return false; |
| 37 | 36 | } |
| 38 | 37 | |
| @@ -44,8 +43,9 @@ | ||
| 44 | 43 | * |
| 45 | 44 | * @since 1.0.0 |
| 46 | 45 | */ |
| 47 | 46 | protected function complete() { |
| 47 | + // Clear all scheduled events for this specific action before completing | |
| 48 | 48 | parent::complete(); |
| 49 | 49 | /*** |
| 50 | 50 | * Fires when import is completed |
| 51 | 51 | * |