PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.0-dev4
Elementor Website Builder – more than just a page builder v3.35.0-dev4
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | modules/variables/services/batch-operations/batch-processor.php +0 -2 4.1.0-dev23.35.0-dev4 View file →
@@ -41,9 +41,8 @@
41 41 $data['order'] = $collection->get_next_order();
42 42 }
43 43
44 44 $variable = Variable::create_new( $data );
45 - $variable->validate();
46 45
47 46 $collection->add_variable( $variable );
48 47
49 48 // TODO: do we need to return all this payload maybe return what the clients want
@@ -94,9 +93,8 @@
94 93 $collection->assert_limit_not_reached();
95 94
96 95 if ( isset( $operation['label'] ) ) {
97 96 $collection->assert_label_is_unique( $operation['label'], $id );
98 - $variable->validate();
99 97 }
100 98
101 99 $variable->apply_changes( $operation );
102 100