Visual Form Builder - Version 2.9.8

Version Description

Download this release

Release Info

Developer mmuro
Plugin Icon 128x128 Visual Form Builder
Version 2.9.8
Comparing to
See all releases

Code changes from version 2.9.7 to 2.9.8

admin/class-page-settings.php CHANGED
@@ -65,6 +65,28 @@ class Visual_Form_Builder_Page_Settings {
65
  </td>
66
  </tr>
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <tr valign="top">
69
  <th scope="row"><label for="vfb-settings-spam-points"><?php _e( 'Spam word sensitivity', 'visual-form-builder' ); ?></label></th>
70
  <td>
65
  </td>
66
  </tr>
67
 
68
+ <tr valign="top">
69
+ <th scope="row"><?php _e( 'Disable Saving Entries', 'visual-form-builder' ); ?></th>
70
+ <td>
71
+ <fieldset>
72
+ <?php
73
+ $disable = array(
74
+ 'disable-saving-entries' => __( 'Disables saving entry data for each submission after all emails have been sent.', 'visual-form-builder' ), // vfb_address_labels_placement
75
+ );
76
+
77
+ foreach ( $disable as $key => $title ) :
78
+
79
+ $vfb_settings[ $key ] = isset( $vfb_settings[ $key ] ) ? $vfb_settings[ $key ] : '';
80
+ ?>
81
+ <label for="vfb-settings-<?php echo $key; ?>">
82
+ <input type="checkbox" name="vfb-settings[<?php echo $key; ?>]" id="vfb-settings-<?php echo $key; ?>" value="1" <?php checked( $vfb_settings[ $key ], 1 ); ?> /> <?php echo $title; ?>
83
+ </label>
84
+ <br>
85
+ <?php endforeach; ?>
86
+ </fieldset>
87
+ </td>
88
+ </tr>
89
+
90
  <tr valign="top">
91
  <th scope="row"><label for="vfb-settings-spam-points"><?php _e( 'Spam word sensitivity', 'visual-form-builder' ); ?></label></th>
92
  <td>
public/class-email.php CHANGED
@@ -329,8 +329,13 @@ class Visual_Form_Builder_Email {
329
  'ip_address' => esc_html( $_SERVER['REMOTE_ADDR'] )
330
  );
331
 
332
- // Insert this data into the entries table
333
- $wpdb->insert( VFB_WP_ENTRIES_TABLE_NAME, $entry );
 
 
 
 
 
334
 
335
  // Close out the content
336
  $footer .= '<tr>
329
  'ip_address' => esc_html( $_SERVER['REMOTE_ADDR'] )
330
  );
331
 
332
+ // Settings - Disable Saving Entries
333
+ $settings_disable_saving = isset( $vfb_settings['disable-saving-entries'] ) ? $vfb_settings['disable-saving-entries'] : '';
334
+
335
+ // Insert this data into the entries table if setting is not set
336
+ if ( empty( $settings_disable_saving ) ) {
337
+ $wpdb->insert( VFB_WP_ENTRIES_TABLE_NAME, $entry );
338
+ }
339
 
340
  // Close out the content
341
  $footer .= '<tr>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mmuro
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
5
  Requires at least: 4.3
6
- Tested up to: 4.9.4
7
- Stable tag: 2.9.7
8
  License: GPLv2 or later
9
 
10
  Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
@@ -67,6 +67,7 @@ If you are a fan of Visual Form Builder and want extra features and functionalit
67
  * Advanced Filtering
68
  * Search across all entries
69
  * Collect submitted data as well as date submitted and IP Address
 
70
 
71
  = Customized Confirmation Messages =
72
 
@@ -230,6 +231,10 @@ function my_scripts_method() {
230
 
231
  == Changelog ==
232
 
 
 
 
 
233
  **Version 2.9.7 - Mar 08, 2018**
234
 
235
  * Fix bug with Default Country not able to be selected
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
5
  Requires at least: 4.3
6
+ Tested up to: 4.9.7
7
+ Stable tag: 2.9.8
8
  License: GPLv2 or later
9
 
10
  Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
67
  * Advanced Filtering
68
  * Search across all entries
69
  * Collect submitted data as well as date submitted and IP Address
70
+ * Disable saving of all entries (GDPR)
71
 
72
  = Customized Confirmation Messages =
73
 
231
 
232
  == Changelog ==
233
 
234
+ **Version 2.9.8 - Jul 12, 2018**
235
+
236
+ * Add new Disable Saving Entry feature to Settings to better assist EU users and the General Data Protection Regulation (GDPR)
237
+
238
  **Version 2.9.7 - Mar 08, 2018**
239
 
240
  * Fix bug with Default Country not able to be selected
visual-form-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Visual Form Builder
4
  Plugin URI: https://wordpress.org/plugins/visual-form-builder/
5
  Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
6
- Version: 2.9.7
7
  Author: Matthew Muro
8
  Author URI: http://vfbpro.com
9
  Text Domain: visual-form-builder
@@ -26,7 +26,7 @@ class Visual_Form_Builder {
26
  * The current version of the plugin.
27
  * @var [type]
28
  */
29
- protected $version = '2.9.7';
30
 
31
  /**
32
  * The current DB version. Used if we need to update the DB later.
3
  Plugin Name: Visual Form Builder
4
  Plugin URI: https://wordpress.org/plugins/visual-form-builder/
5
  Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
6
+ Version: 2.9.8
7
  Author: Matthew Muro
8
  Author URI: http://vfbpro.com
9
  Text Domain: visual-form-builder
26
  * The current version of the plugin.
27
  * @var [type]
28
  */
29
+ protected $version = '2.9.8';
30
 
31
  /**
32
  * The current DB version. Used if we need to update the DB later.