Skip to content

Commit 20ebfb4

Browse files
committed
Add Migrations for v2.3.2
1 parent 4ff3e54 commit 20ebfb4

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

inc/Database_Upgrader.php

+11
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function init() {
4242
'2.0.6' => 'upgrade_2_0_6',
4343
'2.1.0' => 'upgrade_2_1',
4444
'2.2.1' => 'upgrade_2_2_1',
45+
'2.3.2' => 'upgrade_2_3_2',
4546
);
4647

4748
$version = get_option( self::OPTION, '0.0.0' );
@@ -206,4 +207,14 @@ protected function upgrade_2_2_1() {
206207
// Refresh templates library.
207208
Remote::get_instance()->get_templates_info( true );
208209
}
210+
211+
/**
212+
* Migrations for v2.3.2.
213+
*
214+
* @return void
215+
*/
216+
protected function upgrade_2_3_2() {
217+
// Regenerate Elementor CSS.
218+
Utils::clear_elementor_cache();
219+
}
209220
}

inc/class-elementor.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static function ( Categories_Manager $categories_manager ) {
4141

4242
add_action(
4343
'elementor/dynamic_tags/register',
44-
static function( Manager $dynamic_tags ) {
44+
static function ( Manager $dynamic_tags ) {
4545

4646
$dynamic_tags->register_group(
4747
'ang_classes',
@@ -55,7 +55,6 @@ static function( Manager $dynamic_tags ) {
5555

5656
$dynamic_tags->register( new Light_Background() );
5757
$dynamic_tags->register( new Dark_Background() );
58-
5958
}
6059
);
6160

@@ -116,7 +115,7 @@ public function register_data_controllers() {
116115

117116
add_action(
118117
'elementor/editor/init',
119-
function() {
118+
function () {
120119
/**
121120
* Set current page id.
122121
*/

0 commit comments

Comments
 (0)