PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.18
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.18
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/widgets/FrmShowForm.php +5 -5 6.25.1 → 6.18 View file →
@@ -12,25 +12,25 @@
12 12
13 13 public function widget( $args, $instance ) {
14 14 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
15 15
16 - FrmAppHelper::kses_echo( $args['before_widget'], 'all' );
16 + echo FrmAppHelper::kses( $args['before_widget'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
17 17
18 18 echo '<div class="frm_form_widget">';
19 19 if ( $title ) {
20 - FrmAppHelper::kses_echo( $args['before_title'] . stripslashes( $title ) . $args['after_title'], 'all' );
20 + echo FrmAppHelper::kses( $args['before_title'] . stripslashes( $title ) . $args['after_title'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
21 21 }
22 22
23 23 $form_atts = array(
24 - 'id' => $instance['form'] ?? 0,
24 + 'id' => isset( $instance['form'] ) ? $instance['form'] : 0,
25 25 'title' => false,
26 - 'description' => $instance['description'] ?? false,
26 + 'description' => isset( $instance['description'] ) ? $instance['description'] : false,
27 27 );
28 28
29 29 echo FrmFormsController::get_form_shortcode( $form_atts ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
30 30
31 31 echo '</div>';
32 - FrmAppHelper::kses_echo( $args['after_widget'], 'all' );
32 + echo FrmAppHelper::kses( $args['after_widget'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
33 33 }
34 34
35 35 /**
36 36 * @param array $new_instance New settings for this instance as input by the user via