PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.7
Elementor Website Builder – more than just a page builder v3.35.7
4.3.0-beta3 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 All 452 releases
← All changes | modules/atomic-widgets/prop-dependencies/manager.php +1 -5 4.2.23.35.7 View file →
@@ -35,10 +35,9 @@
35 35 * terms: array{
36 36 * operator: string,
37 37 * path: array<string>,
38 38 * value?: mixed,
39 - * newValue?: array,
40 - * effect?: 'hide'|'disable'
39 + * newValue?: array
41 40 * }
42 41 * }
43 42 */
44 43 private ?array $dependencies;
@@ -72,9 +71,8 @@
72 71 * operator: string,
73 72 * path: array<string>,
74 73 * value?: mixed,
75 74 * newValue?: array,
76 - * effect?: 'hide'|'disable'
77 75 * }
78 76 * @return self
79 77 */
80 78 public function where( array $config, $new_value = null ): self {
@@ -86,9 +84,8 @@
86 84 $term = [
87 85 'terms' => $config['terms'],
88 86 'relation' => $config['relation'] ?? self::RELATION_OR,
89 87 'newValue' => $new_value ?? null,
90 - 'effect' => $config['effect'] ?? 'disable',
91 88 ];
92 89 $this->dependencies['terms'][] = $term;
93 90
94 91 return $this;
@@ -107,9 +104,8 @@
107 104 'path' => $config['path'],
108 105 'nestedPath' => $config['nestedPath'] ?? null,
109 106 'value' => $config['value'] ?? null,
110 107 'newValue' => $config['newValue'] ?? null,
111 - 'effect' => $config['effect'] ?? 'disable',
112 108 ];
113 109
114 110 if ( empty( $this->dependencies ) ) {
115 111 $this->new();