| @@ -5,10 +5,10 @@ | ||
| 5 | 5 | use Elementor\Core\Common\Modules\Ajax\Module as Ajax; |
| 6 | 6 | use Elementor\Core\Common\Modules\Finder\Module as Finder; |
| 7 | 7 | use Elementor\Core\Common\Modules\Connect\Module as Connect; |
| 8 | 8 | use Elementor\Core\Common\Modules\EventTracker\Module as Event_Tracker; |
| 9 | -use Elementor\Core\Common\Modules\EventsManager\Module as Events_Manager; | |
| 10 | 9 | use Elementor\Core\Files\Uploads_Manager; |
| 10 | +use Elementor\Core\Settings\Manager as SettingsManager; | |
| 11 | 11 | use Elementor\Icons_Manager; |
| 12 | 12 | use Elementor\Plugin; |
| 13 | 13 | use Elementor\Utils; |
| 14 | 14 | |
| @@ -68,14 +68,8 @@ | ||
| 68 | 68 | |
| 69 | 69 | $this->add_component( 'connect', new Connect() ); |
| 70 | 70 | |
| 71 | 71 | $this->add_component( 'event-tracker', new Event_Tracker() ); |
| 72 | - | |
| 73 | - Plugin::$instance->experiments->add_feature( Events_Manager::get_experimental_data() ); | |
| 74 | - | |
| 75 | - if ( Plugin::$instance->experiments->is_feature_active( Events_Manager::EXPERIMENT_NAME ) ) { | |
| 76 | - $this->add_component( 'events-manager', new Events_Manager() ); | |
| 77 | - } | |
| 78 | 72 | } |
| 79 | 73 | |
| 80 | 74 | /** |
| 81 | 75 | * Get name. |
| @@ -100,24 +94,11 @@ | ||
| 100 | 94 | * @access public |
| 101 | 95 | */ |
| 102 | 96 | public function register_scripts() { |
| 103 | 97 | wp_register_script( |
| 104 | - 'elementor-vendors-redux', | |
| 105 | - $this->get_js_assets_url( 'vendors-redux' ), | |
| 106 | - [ | |
| 107 | - 'react', | |
| 108 | - 'react-dom', | |
| 109 | - ], | |
| 110 | - ELEMENTOR_VERSION, | |
| 111 | - true | |
| 112 | - ); | |
| 113 | - | |
| 114 | - wp_register_script( | |
| 115 | 98 | 'elementor-common-modules', |
| 116 | 99 | $this->get_js_assets_url( 'common-modules' ), |
| 117 | - [ | |
| 118 | - 'elementor-vendors-redux', | |
| 119 | - ], | |
| 100 | + [], | |
| 120 | 101 | ELEMENTOR_VERSION, |
| 121 | 102 | true |
| 122 | 103 | ); |
| 123 | 104 | |
| @@ -283,9 +264,8 @@ | ||
| 283 | 264 | ], |
| 284 | 265 | 'filesUpload' => [ |
| 285 | 266 | 'unfilteredFiles' => Uploads_Manager::are_unfiltered_uploads_enabled(), |
| 286 | 267 | ], |
| 287 | - 'editor_events' => Events_Manager::get_editor_events_config(), | |
| 288 | 268 | ]; |
| 289 | 269 | |
| 290 | 270 | /** |
| 291 | 271 | * Localize common settings. |