PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.2.06
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.2.06
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/FrmFieldCheckbox.php +1 -37 6.255.2.06 View file →
@@ -35,20 +35,8 @@
35 35 protected function include_form_builder_file() {
36 36 return $this->include_front_form_file();
37 37 }
38 38
39 - /**
40 - * @return bool[]
41 - */
42 - protected function field_settings_for_type() {
43 - return array(
44 - 'invalid' => true,
45 - );
46 - }
47 -
48 - /**
49 - * @return string[]
50 - */
51 39 protected function new_field_settings() {
52 40 return array(
53 41 'options' => serialize(
54 42 array(
@@ -70,11 +58,8 @@
70 58 $this->type => true,
71 59 );
72 60 }
73 61
74 - /**
75 - * @return array
76 - */
77 62 protected function extra_field_opts() {
78 63 $form_id = $this->get_field_column( 'form_id' );
79 64
80 65 return array(
@@ -83,25 +68,17 @@
83 68 }
84 69
85 70 /**
86 71 * @since 4.06
87 - *
88 - * @return void
89 72 */
90 73 protected function show_priority_field_choices( $args = array() ) {
91 - include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/radio-images.php';
74 + include( FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/radio-images.php' );
92 75 }
93 76
94 - /**
95 - * @return string
96 - */
97 77 protected function include_front_form_file() {
98 78 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/front-end/checkbox-field.php';
99 79 }
100 80
101 - /**
102 - * @return bool
103 - */
104 81 protected function show_readonly_hidden() {
105 82 return true;
106 83 }
107 84
@@ -106,19 +83,6 @@
106 83 }
107 84
108 85 protected function prepare_import_value( $value, $atts ) {
109 86 return $this->get_multi_opts_for_import( $value );
110 - }
111 -
112 - /**
113 - * Unset aria-invalid for checkboxes because it's not valid for checkboxes.
114 - * Instead aria-invalid is added to the checkbox group parent element.
115 - *
116 - * @since 6.25
117 - *
118 - * @param array $shortcode_atts
119 - * @param array $args
120 - */
121 - public function set_aria_invalid_error( &$shortcode_atts, $args ) {
122 - unset( $shortcode_atts['aria-invalid'] );
123 87 }
124 88 }