PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 1.2.0
JetFormBuilder — Dynamic Blocks Form Builder v1.2.0
3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 All 130 releases
← All changes | includes/shortcodes/shortcode.php +9 -1 1.1.71.2.0 View file →
@@ -21,9 +21,17 @@
21 21 protected function prepare_attributes( $attrs ) {
22 22 $result = array();
23 23
24 24 foreach ( $attrs as $name => $attr ) {
25 - $result[ $name ] = $attr['default'];
25 + if ( in_array( $name, array(
26 + 'form_id',
27 + 'submit_type',
28 + 'required_mark',
29 + 'fields_layout',
30 + 'enable_progress'
31 + ) ) ) {
32 + $result[ $name ] = $attr['default'];
33 + }
26 34 }
27 35
28 36 return $result;
29 37 }