← All changes
|
app/modules/import-export/compatibility/envato.php
+2
-2
4.1.0-dev2
→
3.13.2
View file →
| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | use Elementor\App\Modules\ImportExport\Utils as ImportExportUtils; |
| 6 | 6 | use Elementor\Plugin; |
| 7 | 7 | |
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | - exit; // Exit if accessed directly. | |
| 9 | + exit; // Exit if accessed directly | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | class Envato extends Base_Adapter { |
| 13 | 13 | public static function is_compatibility_needed( array $manifest_data, array $meta ) { |
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | $manifest_data['templates'] = []; |
| 21 | 21 | |
| 22 | 22 | foreach ( $templates as $template ) { |
| 23 | 23 | // Envato store their global kit styles as a 'global.json' template file. |
| 24 | - // We need to be able to know the path to this specific 'global.json' since it functions as the site-settings.json | |
| 24 | + // We need to be able to know the path to this specifc 'global.json' since it functions as the site-settings.json | |
| 25 | 25 | $is_global = ! empty( $template['metadata']['template_type'] ) && 'global-styles' === $template['metadata']['template_type']; |
| 26 | 26 | if ( $is_global ) { |
| 27 | 27 | // Adding the path of the 'global.json' template to the manifest which will be used in the future. |
| 28 | 28 | $manifest_data['path-to-envto-site-settings'] = $template['source']; |