← All changes
|
modules/home/classes/transformations-manager.php
+2
-6
4.0.8
→
3.32.0-dev3
View file →
| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | namespace Elementor\Modules\Home\Classes; |
| 3 | 3 | |
| 4 | 4 | use Elementor\Core\Isolation\Wordpress_Adapter; |
| 5 | 5 | use Elementor\Core\Isolation\Plugin_Status_Adapter; |
| 6 | -use Elementor\Includes\EditorAssetsAPI; | |
| 7 | 6 | |
| 8 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 8 | exit; // Exit if accessed directly. |
| 10 | 9 | } |
| @@ -14,11 +13,12 @@ | ||
| 14 | 13 | private static $cached_data = []; |
| 15 | 14 | |
| 16 | 15 | private const TRANSFORMATIONS = [ |
| 17 | 16 | 'Create_New_Page_Url', |
| 18 | - 'Create_Edit_Website_Url', | |
| 17 | + 'Filter_Plugins', | |
| 19 | 18 | 'Filter_Get_Started_By_License', |
| 20 | 19 | 'Filter_Sidebar_Promotion_By_License', |
| 20 | + 'Filter_Condition_Introduction_Meta', | |
| 21 | 21 | 'Create_Site_Settings_Url', |
| 22 | 22 | 'Filter_Top_Section_By_License', |
| 23 | 23 | ]; |
| 24 | 24 | |
| @@ -37,12 +37,8 @@ | ||
| 37 | 37 | $this->transformation_classes = $this->get_transformation_classes(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function run_transformations(): array { |
| 41 | - if ( ! EditorAssetsAPI::is_valid_data( $this->home_screen_data ) ) { | |
| 42 | - return []; | |
| 43 | - } | |
| 44 | - | |
| 45 | 41 | if ( ! empty( self::$cached_data ) ) { |
| 46 | 42 | return self::$cached_data; |
| 47 | 43 | } |
| 48 | 44 | |