← All changes
|
app/modules/import-export/processes/import.php
+0
-2
4.3.0-beta2
→
4.0.3
View file →
| @@ -7,9 +7,8 @@ | ||
| 7 | 7 | use Elementor\App\Modules\ImportExport\Compatibility\Kit_Library; |
| 8 | 8 | use Elementor\App\Modules\ImportExport\Utils; |
| 9 | 9 | use Elementor\Core\Base\Document; |
| 10 | 10 | use Elementor\Core\Kits\Documents\Kit; |
| 11 | -use Elementor\Modules\Components\Module as Components_Module; | |
| 12 | 11 | use Elementor\Plugin; |
| 13 | 12 | |
| 14 | 13 | use Elementor\App\Modules\ImportExport\Runners\Import\Elementor_Content; |
| 15 | 14 | use Elementor\App\Modules\ImportExport\Runners\Import\Import_Runner_Base; |
| @@ -740,9 +739,8 @@ | ||
| 740 | 739 | foreach ( $this->documents_data as $new_id => $data ) { |
| 741 | 740 | $document = Plugin::$instance->documents->get( $new_id ); |
| 742 | 741 | |
| 743 | 742 | if ( isset( $data['elements'] ) ) { |
| 744 | - $data['elements'] = Components_Module::prepare_imported_elements( $data['elements'], $imported_data_replacements['post_ids'] ?? [] ); | |
| 745 | 743 | $data['elements'] = $document->on_import_update_dynamic_content( $data['elements'], $imported_data_replacements ); |
| 746 | 744 | } |
| 747 | 745 | |
| 748 | 746 | if ( isset( $data['settings'] ) ) { |