| @@ -4,11 +4,10 @@ | ||
| 4 | 4 | |
| 5 | 5 | use ImageOptimization\Classes\Image\Image_Conversion_Option; |
| 6 | 6 | use ImageOptimization\Classes\Module_Base; |
| 7 | 7 | use ImageOptimization\Modules\Settings\{ |
| 8 | - Banners\One_Million_Installs_Banner, | |
| 9 | 8 | Banners\Sale_Banner, |
| 10 | - Banners\Birthday_Banner, | |
| 9 | + Banners\Elementor_Birthday_Banner, | |
| 11 | 10 | Classes\Settings, |
| 12 | 11 | }; |
| 13 | 12 | use ImageOptimization\Modules\Stats\Classes\Optimization_Stats; |
| 14 | 13 | use ImageOptimization\Classes\Client\Client; |
| @@ -74,8 +73,12 @@ | ||
| 74 | 73 | 'additionalProperties' => true, |
| 75 | 74 | ], |
| 76 | 75 | ], |
| 77 | 76 | ], |
| 77 | + 'migration_popup_dismissed' => [ | |
| 78 | + 'type' => 'boolean', | |
| 79 | + 'default' => false, | |
| 80 | + ], | |
| 78 | 81 | ]; |
| 79 | 82 | } |
| 80 | 83 | |
| 81 | 84 | public function register_options() { |
| @@ -99,10 +102,9 @@ | ||
| 99 | 102 | |
| 100 | 103 | public function render_app() { |
| 101 | 104 | ?> |
| 102 | 105 | <?php Sale_Banner::get_banner( 'https://go.elementor.com/IO-BF-sale' ); ?> |
| 103 | - <?php One_Million_Installs_Banner::get_banner( 'https://go.elementor.com/io-1m-banner-upgrade/' ); ?> | |
| 104 | - <?php Birthday_Banner::get_banner( 'https://go.elementor.com/io-b-day-banner' ); ?> | |
| 106 | + <?php Elementor_Birthday_Banner::get_banner( 'https://go.elementor.com/IO-10th-bd-sale' ); ?> | |
| 105 | 107 | |
| 106 | 108 | <!-- The hack required to wrap WP notifications --> |
| 107 | 109 | <div class="wrap"> |
| 108 | 110 | <h1 style="display: none;" role="presentation"></h1> |