PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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 +3 -1 6.26 → trunk View file →
@@ -16,9 +16,9 @@
16 16 *
17 17 * @return void
18 18 */
19 19 public function widget( $args, $instance ) {
20 - $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
20 + $title = apply_filters( 'widget_title', ! empty( $instance['title'] ) ? $instance['title'] : '', $instance, $this->id_base );
21 21
22 22 FrmAppHelper::kses_echo( $args['before_widget'], 'all' );
23 23
24 24 echo '<div class="frm_form_widget">';
@@ -63,8 +63,9 @@
63 63 'form' => false,
64 64 'description' => false,
65 65 );
66 66 $instance = wp_parse_args( $instance, $defaults );
67 + // phpcs:disable Generic.WhiteSpace.ScopeIndent
67 68 ?>
68 69 <p>
69 70 <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
70 71 <?php esc_html_e( 'Title', 'formidable' ); ?>:
@@ -100,7 +101,8 @@
100 101 <?php esc_html_e( 'Show Description', 'formidable' ); ?>
101 102 </label>
102 103 </p>
103 104 <?php
105 + // phpcs:enable Generic.WhiteSpace.ScopeIndent
104 106 return '';
105 107 }
106 108 }