PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.15.3
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.15.3
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Frontend/Form/View/FieldHelpers.php +15 -3 2.10.22.15.3 View file →
@@ -41,9 +41,21 @@
41 41 }
42 42
43 43 public function renderHTMR($title)
44 44 {
45 - return $title;
45 + $allowed_html = wp_kses_allowed_html('post');
46 +
47 + $allowed_html['iframe'] = [
48 + 'src' => true,
49 + 'width' => true,
50 + 'height' => true,
51 + 'frameborder' => true,
52 + 'allow' => true,
53 + 'allowfullscreen' => true,
54 + 'title' => true,
55 + 'style' => true,
56 + ];
57 + return wp_kses($title, $allowed_html);
46 58 }
47 59
48 60 public function getAtomicCls($element)
49 61 {
@@ -60,11 +72,11 @@
60 72 }
61 73 $cls = ".$this->_fk-$element";
62 74 if (isset($this->_form_atomic_Cls_map->{$cls})) {
63 75 $getAtomicCls = $this->_form_atomic_Cls_map->{$cls};
64 - return implode(' ', $getAtomicCls) . " {$this->_fk}-{$element}";
76 + return implode(' ', $getAtomicCls) . " {$this->_fk}-{$element} bf-{$element}";
65 77 }
66 - return "{$this->_fk}-{$element}";
78 + return "{$this->_fk}-{$element} bf-{$element}";
67 79 }
68 80
69 81 public function replaceToBackSlash($str)
70 82 {