Visual Form Builder - Version 2.8.9

Version Description

Fix bug where entries could not be trashed or deleted

Download this release

Release Info

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

Code changes from version 2.8.8 to 2.8.9

includes/class-entries-list.php CHANGED
@@ -323,11 +323,11 @@ class VisualFormBuilder_Entries_List extends WP_List_Table {
323
  $entry_id = '';
324
 
325
  // Set the Entry ID array
326
- if ( isset( $_POST['entry'] ) ) :
327
- if ( is_array( $_POST['entry'] ) )
328
- $entry_id = $_POST['entry'];
329
  else
330
- $entry_id = (array) $_POST['entry'];
331
  endif;
332
 
333
  switch( $this->current_action() ) :
@@ -353,7 +353,7 @@ class VisualFormBuilder_Entries_List extends WP_List_Table {
353
  break;
354
 
355
  case 'delete' :
356
- $entry_id = ( isset( $_POST['entry'] ) && is_array( $_POST['entry'] ) ) ? $_POST['entry'] : array( $_POST['entry'] );
357
 
358
  global $wpdb;
359
 
323
  $entry_id = '';
324
 
325
  // Set the Entry ID array
326
+ if ( isset( $_GET['entry'] ) ) :
327
+ if ( is_array( $_GET['entry'] ) )
328
+ $entry_id = $_GET['entry'];
329
  else
330
+ $entry_id = (array) $_GET['entry'];
331
  endif;
332
 
333
  switch( $this->current_action() ) :
353
  break;
354
 
355
  case 'delete' :
356
+ $entry_id = ( isset( $_GET['entry'] ) && is_array( $_GET['entry'] ) ) ? $_GET['entry'] : array( $_GET['entry'] );
357
 
358
  global $wpdb;
359
 
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.5.1
7
- Stable tag: 2.8.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.
@@ -237,6 +237,10 @@ function my_scripts_method() {
237
 
238
  == Changelog ==
239
 
 
 
 
 
240
  **Version 2.8.8 - Apr 28, 2016**
241
 
242
  * Fix bug with Export
@@ -683,6 +687,9 @@ function my_scripts_method() {
683
 
684
  == Upgrade Notice ==
685
 
 
 
 
686
  = 2.8.8 =
687
  Fix critical bug with Export
688
 
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.5.3
7
+ Stable tag: 2.8.9
8
  License: GPLv2 or later
9
 
10
  Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
237
 
238
  == Changelog ==
239
 
240
+ **Version 2.8.9 - Jul 24, 2016**
241
+
242
+ * Fix bug where entries could not be trashed or deleted
243
+
244
  **Version 2.8.8 - Apr 28, 2016**
245
 
246
  * Fix bug with Export
687
 
688
  == Upgrade Notice ==
689
 
690
+ = 2.8.9 =
691
+ Fix bug where entries could not be trashed or deleted
692
+
693
  = 2.8.8 =
694
  Fix critical bug with Export
695
 
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.8.8
7
  Author: Matthew Muro
8
  Author URI: http://matthewmuro.com
9
  Text Domain: visual-form-builder
@@ -11,7 +11,7 @@ Domain Path: /languages/
11
  */
12
 
13
  // Version number to output as meta tag
14
- define( 'VFB_VERSION', '2.8.8' );
15
 
16
  /*
17
  This program is free software; you can redistribute it and/or modify
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.8.9
7
  Author: Matthew Muro
8
  Author URI: http://matthewmuro.com
9
  Text Domain: visual-form-builder
11
  */
12
 
13
  // Version number to output as meta tag
14
+ define( 'VFB_VERSION', '2.8.9' );
15
 
16
  /*
17
  This program is free software; you can redistribute it and/or modify