PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.2.02
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.2.02
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/FrmElementorWidget.php +7 -7 6.25.15.2.02 View file →
@@ -21,9 +21,9 @@
21 21 public function get_categories() {
22 22 return array( 'general' );
23 23 }
24 24
25 - protected function register_controls() {
25 + protected function _register_controls() {
26 26 $this->start_controls_section(
27 27 'section_form_dropdown',
28 28 array(
29 29 'label' => __( 'Select Form', 'formidable' ),
@@ -73,9 +73,9 @@
73 73 $forms = FrmForm::get_published_forms( $where, 999, 'exclude' );
74 74 $options = array( '' => '' );
75 75
76 76 foreach ( $forms as $form ) {
77 - $form_title = '' === $form->name ? FrmFormsHelper::get_no_title_text() : FrmAppHelper::truncate( $form->name, 50 );
77 + $form_title = '' === $form->name ? __( '(no title)', 'formidable' ) : FrmAppHelper::truncate( $form->name, 50 );
78 78 $options[ $form->id ] = esc_html( $form_title );
79 79 }
80 80
81 81 return $options;
@@ -90,13 +90,13 @@
90 90
91 91 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
92 92 echo FrmFormsController::get_form_shortcode(
93 93 array(
94 - 'id' => $form_id, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
95 - 'title' => $title, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
96 - 'description' => $description, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
97 - 'minimize' => $minimize, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
94 + 'id' => $form_id,
95 + 'title' => $title,
96 + 'description' => $description,
97 + 'minimize' => $minimize,
98 98 )
99 99 );
100 100 }
101 101 }
102 -}//end if
102 +}