PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.22
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.22
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/fields/FrmFieldHTML.php +15 -1 6.46.22 View file →
@@ -22,9 +22,9 @@
22 22
23 23 /**
24 24 * @since 4.0
25 25 *
26 - * @param array $args - Includes 'field', 'display', and 'values'
26 + * @param array $args Includes 'field', 'display', and 'values'.
27 27 *
28 28 * @return void
29 29 */
30 30 public function show_primary_options( $args ) {
@@ -66,6 +66,20 @@
66 66 * @return string
67 67 */
68 68 protected function include_form_builder_file() {
69 69 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-html.php';
70 + }
71 +
72 + /**
73 + * Overwrite FrmFieldType::should_strip_most_html_before_preparing_display_value.
74 + * An HTML field is not populated from user input.
75 + * It does not need to be passed through FrmAppHelper::strip_most_html.
76 + *
77 + * @since 6.8.3
78 + *
79 + * @param array $atts
80 + * @return bool
81 + */
82 + protected function should_strip_most_html_before_preparing_display_value( $atts ) {
83 + return false;
70 84 }
71 85 }