PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.19
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.19
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/FrmFieldDefault.php +4 -3 6.46.19 View file →
@@ -14,9 +14,9 @@
14 14 */
15 15 protected $holds_email_values = true;
16 16
17 17 /**
18 - * @param $type string
18 + * @param string $type
19 19 *
20 20 * @return void
21 21 */
22 22 protected function set_type( $type ) {
@@ -45,9 +45,10 @@
45 45 }
46 46 }
47 47
48 48 /**
49 - * @return false|string
49 + * @param array $args
50 + * @return string
50 51 */
51 52 public function front_field_input( $args, $shortcode_atts ) {
52 53 $pass_args = array(
53 54 'errors' => $args['errors'],
@@ -58,7 +59,7 @@
58 59 do_action( 'frm_form_field_' . $this->type, $this->field, $args['field_name'], $pass_args );
59 60 $input_html = ob_get_contents();
60 61 ob_end_clean();
61 62
62 - return $input_html;
63 + return is_string( $input_html ) ? $input_html : '';
63 64 }
64 65 }