PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.1
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.1
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/class-form.php +3 -3 1.6.81.6.1 View file →
@@ -138,12 +138,12 @@
138 138 $field['enable_no_captcha'] = isset( $field['enable_no_captcha'] ) ? $field['enable_no_captcha'] : '';
139 139 $field['recaptcha_theme'] = isset( $field['recaptcha_theme'] ) ? $field['recaptcha_theme'] : 'light';
140 140 }
141 141
142 - $form_fields[] = apply_filters( 'weforms-get-form-field', $field, $this->id );
142 + $form_fields[] = apply_filters( 'weforms-get-form-field', $field );
143 143 }
144 144
145 - $this->form_fields = apply_filters( 'weforms-get-form-fields', $form_fields, $this->id );
145 + $this->form_fields = apply_filters( 'weforms-get-form-fields', $form_fields );
146 146
147 147 return $this->form_fields;
148 148 }
149 149
@@ -270,9 +270,9 @@
270 270 public function get_settings() {
271 271 $settings = get_post_meta( $this->id, 'wpuf_form_settings', true );
272 272 $default = weforms_get_default_form_settings();
273 273
274 - return apply_filters( 'weforms-get-form-settings', array_merge( $default, $settings ), $this->id );
274 + return array_merge( $default, $settings );
275 275 }
276 276
277 277 /**
278 278 * Check if the form submission is open