Calculated Fields Form - Version 1.1.95

Version Description

  • Fixes an issue with InnoDB tables whose ROW_FORMAT=COMPACT.
  • Modifies the submissions data sources to allow accessing the unpaid submissions only (Developer and Platinum versions).
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Calculated Fields Form
Version 1.1.95
Comparing to
See all releases

Code changes from version 1.1.94 to 1.1.95

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://cff.dwbooster.com
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
  Tested up to: 6.0
7
- Stable tag: 1.1.94
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -965,6 +965,11 @@ A: Please, follow the steps below:
965
 
966
  == Changelog ==
967
 
 
 
 
 
 
968
  = 1.1.94 =
969
 
970
  * Fixes a minor issue in the checkbox control.
@@ -986,7 +991,7 @@ A: Please, follow the steps below:
986
  = 1.1.91 =
987
 
988
  * Modifies the date/time control to allow defining custom error messages.
989
- * Fixes an issue in the Date/Time DS field when it receives dates in text format (Developer and Platinum versions)
990
 
991
  = 1.1.90 =
992
 
@@ -1011,17 +1016,10 @@ A: Please, follow the steps below:
1011
  = 1.1.87 =
1012
 
1013
  * Improves the plugin behavior by escaping all field attributes.
1014
- * Solves a warning in the CFF WooCommerce add-on (Developer and Platinum versions)
1015
- * Fixes a conflict in the CFF - Analytics add-on (Platinum version)
1016
 
1017
  = 1.1.86 =
1018
 
1019
  * Modifies the template 14.
1020
- * Modifies the PayPal integration (Professional, Developer, and Platinum versions)
1021
-
1022
- = 1.1.85 =
1023
-
1024
- * Modifies the val method in all components.
1025
- * Fixes a style conflict between the forms builder and some themes.
1026
- * Includes the thank_you_page tag to include the link to the thank you page in the notification emails and thank you pages (Professional, Developer, and Platinum versions).
1027
- * Modifies the PDF Generator add-on to allow generating the PDF files after payment or generate the files even if they are not attached to any email (Platinum version)
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
  Tested up to: 6.0
7
+ Stable tag: 1.1.95
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
965
 
966
  == Changelog ==
967
 
968
+ = 1.1.95 =
969
+
970
+ * Fixes an issue with InnoDB tables whose ROW_FORMAT=COMPACT.
971
+ * Modifies the submissions data sources to allow accessing the unpaid submissions only (Developer and Platinum versions).
972
+
973
  = 1.1.94 =
974
 
975
  * Fixes a minor issue in the checkbox control.
991
  = 1.1.91 =
992
 
993
  * Modifies the date/time control to allow defining custom error messages.
994
+ * Fixes an issue in the Date/Time DS field when it receives dates in text format (Developer and Platinum versions).
995
 
996
  = 1.1.90 =
997
 
1016
  = 1.1.87 =
1017
 
1018
  * Improves the plugin behavior by escaping all field attributes.
1019
+ * Solves a warning in the CFF WooCommerce add-on (Developer and Platinum versions).
1020
+ * Fixes a conflict in the CFF - Analytics add-on (Platinum version).
1021
 
1022
  = 1.1.86 =
1023
 
1024
  * Modifies the template 14.
1025
+ * Modifies the PayPal integration (Professional, Developer, and Platinum versions).
 
 
 
 
 
 
 
changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
  == Changelog ==
2
 
 
 
 
 
 
3
  = 1.1.94 =
4
 
5
  * Fixes a minor issue in the checkbox control.
1
  == Changelog ==
2
 
3
+ = 1.1.95 =
4
+
5
+ * Fixes an issue with InnoDB tables whose ROW_FORMAT=COMPACT.
6
+ * Modifies the submissions data sources to allow accessing the unpaid submissions only (Developer and Platinum versions).
7
+
8
  = 1.1.94 =
9
 
10
  * Fixes a minor issue in the checkbox control.
cp_calculatedfieldsf_free.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
- Version: 1.1.94
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
@@ -16,7 +16,7 @@ if(!defined('WP_DEBUG') || true != WP_DEBUG)
16
  }
17
 
18
  // Defining main constants
19
- define('CP_CALCULATEDFIELDSF_VERSION', '1.1.94' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
+ Version: 1.1.95
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
16
  }
17
 
18
  // Defining main constants
19
+ define('CP_CALCULATEDFIELDSF_VERSION', '1.1.95' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
inc/cpcff_install_uninstall.inc.php CHANGED
@@ -121,6 +121,17 @@ if(!class_exists('CPCFF_INSTALLER'))
121
  UNIQUE KEY id (id)
122
  ) $charset_collate;";
123
 
 
 
 
 
 
 
 
 
 
 
 
124
  // Forms structures table
125
  $db_queries[] = "CREATE TABLE ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE." (
126
  id mediumint(9) NOT NULL AUTO_INCREMENT,
@@ -187,7 +198,7 @@ if(!class_exists('CPCFF_INSTALLER'))
187
  category VARCHAR(250),
188
  cache longtext DEFAULT '' NOT NULL,
189
  UNIQUE KEY id (id)
190
- ) $charset_collate;";
191
 
192
  // Revisions table
193
  $db_queries[] = "CREATE TABLE ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_REVISIONS_TABLE." (
121
  UNIQUE KEY id (id)
122
  ) $charset_collate;";
123
 
124
+ // CHANGE ROW_FORMAT ONLY ONCE
125
+ if(get_option($wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE.'_ROW_FORMAT', 0) == 0)
126
+ {
127
+ update_option($wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE.'_ROW_FORMAT', 1);
128
+ $check_table_exists = $wpdb->get_results('SHOW TABLES LIKE "'.$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE.'"');
129
+ if(count($check_table_exists))
130
+ {
131
+ $wpdb->query("ALTER TABLE ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE." ROW_FORMAT=DYNAMIC");
132
+ }
133
+ }
134
+
135
  // Forms structures table
136
  $db_queries[] = "CREATE TABLE ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE." (
137
  id mediumint(9) NOT NULL AUTO_INCREMENT,
198
  category VARCHAR(250),
199
  cache longtext DEFAULT '' NOT NULL,
200
  UNIQUE KEY id (id)
201
+ ) $charset_collate ROW_FORMAT=DYNAMIC;";
202
 
203
  // Revisions table
204
  $db_queries[] = "CREATE TABLE ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_REVISIONS_TABLE." (
js/fbuilder-pro-public.jquery.js CHANGED
@@ -1,4 +1,4 @@
1
- $.fbuilder['version'] = '1.1.94';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
1
+ $.fbuilder['version'] = '1.1.95';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4