PluginProbe
Elementor Website Builder – more than just a page builder / 3.32.0-dev3
Elementor Website Builder – more than just a page builder v3.32.0-dev3
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/atomic-widgets/controls/section.php +4 -9 4.2.13.32.0-dev3 View file →
@@ -27,19 +27,15 @@
27 27 return $this->id;
28 28 }
29 29
30 30 public function set_label( string $label ): self {
31 - $this->label = html_entity_decode( $label );
31 + $this->label = $label;
32 32
33 33 return $this;
34 34 }
35 35
36 - public function get_label(): ?string {
37 - return $this->label;
38 - }
39 -
40 36 public function set_description( string $description ): self {
41 - $this->description = html_entity_decode( $description );
37 + $this->description = $description;
42 38
43 39 return $this;
44 40 }
45 41
@@ -62,12 +58,11 @@
62 58 public function jsonSerialize(): array {
63 59 return [
64 60 'type' => 'section',
65 61 'value' => [
66 - 'id' => $this->id,
67 - 'label' => $this->label,
62 + 'label' => $this->label,
68 63 'description' => $this->description,
69 - 'items' => $this->items,
64 + 'items' => $this->items,
70 65 ],
71 66 ];
72 67 }
73 68 }