PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
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/Theme/Fields/HTMLField.php +13 -9 2.10.03.3.1 View file →
@@ -16,16 +16,20 @@
16 16 } elseif ($fieldHelpers->property_exists_nested($field, 'info->content') && !empty($field->info->content)) {
17 17 $content = $field->info->content;
18 18 }
19 19
20 - $content = wp_kses_post(FieldValueHandler::replaceSmartTagWithValue($content));
20 + $content = FieldValueHandler::replaceSmartTagWithValue($content);
21 21
22 - return <<<HTMLFIELD
23 - <div
24 - {$fieldHelpers->getCustomAttributes('fld-wrp')}
25 - class="{$fieldHelpers->getAtomicCls('fld-wrp')} {$fieldHelpers->getCustomClasses('fld-wrp')}"
26 - >
27 - {$fieldHelpers->renderHTMR($content)}
28 - </div>
29 -HTMLFIELD;
22 + return sprintf(
23 + '<div
24 + %1$s
25 + class="%2$s %3$s"
26 + >
27 + %4$s
28 + </div>',
29 + $fieldHelpers->getCustomAttributes('fld-wrp'),
30 + $fieldHelpers->getAtomicCls('fld-wrp'),
31 + $fieldHelpers->getCustomClasses('fld-wrp'),
32 + $fieldHelpers->renderHTMR($content)
33 + );
30 34 }
31 35 }