Calculated Fields Form - Version 1.1.104

Version Description

  • Fixes a conflict with Breeze WordPress Cache plugin.
  • Modifies the results list shortcode to allow displaying submissions of multiple forms in the same shortcode (Professional, Developer, and Platinum versions).
Download this release

Release Info

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

Code changes from version 1.1.103 to 1.1.104

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.103
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.103 =
969
 
970
  * Includes new modifications in the radio buttons and radio buttons ds.
@@ -1011,10 +1016,4 @@ A: Please, follow the steps below:
1011
  = 1.1.95 =
1012
 
1013
  * Fixes an issue with InnoDB tables whose ROW_FORMAT=COMPACT.
1014
- * Modifies the submissions data sources to allow accessing the unpaid submissions only (Developer and Platinum versions).
1015
-
1016
- = 1.1.94 =
1017
-
1018
- * Fixes a minor issue in the checkbox control.
1019
- * Modifies the MONTH, DAY, and WEEKDAY to accept an additional parameter for leading zeros.
1020
- * Modifies the CSS rules to hide empty validation messages.
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.104
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.104 =
969
+
970
+ * Fixes a conflict with Breeze WordPress Cache plugin.
971
+ * Modifies the results list shortcode to allow displaying submissions of multiple forms in the same shortcode (Professional, Developer, and Platinum versions).
972
+
973
  = 1.1.103 =
974
 
975
  * Includes new modifications in the radio buttons and radio buttons ds.
1016
  = 1.1.95 =
1017
 
1018
  * Fixes an issue with InnoDB tables whose ROW_FORMAT=COMPACT.
1019
+ * Modifies the submissions data sources to allow accessing the unpaid submissions only (Developer and Platinum versions).
 
 
 
 
 
 
changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
  == Changelog ==
2
 
 
 
 
 
 
3
  = 1.1.103 =
4
 
5
  * Includes new modifications in the radio buttons and radio buttons ds.
1
  == Changelog ==
2
 
3
+ = 1.1.104 =
4
+
5
+ * Fixes a conflict with Breeze WordPress Cache plugin.
6
+ * Modifies the results list shortcode to allow displaying submissions of multiple forms in the same shortcode (Professional, Developer, and Platinum versions).
7
+
8
  = 1.1.103 =
9
 
10
  * Includes new modifications in the radio buttons and radio buttons ds.
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.103
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.103' );
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.104
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.104' );
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_compatibility.inc.php CHANGED
@@ -13,6 +13,12 @@ if(!class_exists('CPCFF_COMPATIBILITY'))
13
  private static function init()
14
  {
15
  return array(
 
 
 
 
 
 
16
  array(
17
  'plugin' => 'Fast Velocity Minify',
18
  'check' => 'fvm_compat_checker',
13
  private static function init()
14
  {
15
  return array(
16
+ array(
17
+ 'plugin' => 'Breeze - WordPress Cache Plugin',
18
+ 'check' => 'BREEZE_VERSION',
19
+ 'type' => 'constant',
20
+ 'mssg' => __('There is active the <b>Breeze - WordPress Cache Plugin</b> plugin. If the forms are not visible, please tick the <i>"There is active an optimization plugin in WordPress"</i> and Purge the Breeze cache.', 'calculated-fields-form')
21
+ ),
22
  array(
23
  'plugin' => 'Fast Velocity Minify',
24
  'check' => 'fvm_compat_checker',
inc/cpcff_main.inc.php CHANGED
@@ -972,7 +972,7 @@ if(!class_exists('CPCFF_MAIN'))
972
  {
973
  if(!$this->_is_admin)
974
  {
975
- if(get_option('CP_CALCULATEDFIELDSF_OPTIMIZATION_PLUGIN', CP_CALCULATEDFIELDSF_OPTIMIZATION_PLUGIN)*1)
976
  {
977
  // Solves a conflict caused by the "Speed Booster Pack" plugin
978
  add_filter('option_sbp_settings', 'CPCFF_MAIN::speed_booster_pack_troubleshoot');
@@ -1007,6 +1007,12 @@ if(!class_exists('CPCFF_MAIN'))
1007
  add_filter( 'rocket_excluded_inline_js_content', 'CPCFF_MAIN::rocket_exclude_inline_js' );
1008
  add_filter( 'rocket_defer_inline_exclusions', 'CPCFF_MAIN::rocket_exclude_inline_js' );
1009
  add_filter( 'rocket_delay_js_exclusions', 'CPCFF_MAIN::rocket_exclude_inline_js' );
 
 
 
 
 
 
1010
  }
1011
  } // End troubleshoots
1012
 
@@ -1057,5 +1063,21 @@ if(!class_exists('CPCFF_MAIN'))
1057
  return $excluded_js;
1058
  } // End rocket_exclude_inline_js
1059
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1060
  } // End CPCFF_MAIN
1061
  }
972
  {
973
  if(!$this->_is_admin)
974
  {
975
+ if(get_option('CP_CALCULATEDFIELDSF_OPTIMIZATION_PLUGIN', CP_CALCULATEDFIELDSF_OPTIMIZATION_PLUGIN)*1)
976
  {
977
  // Solves a conflict caused by the "Speed Booster Pack" plugin
978
  add_filter('option_sbp_settings', 'CPCFF_MAIN::speed_booster_pack_troubleshoot');
1007
  add_filter( 'rocket_excluded_inline_js_content', 'CPCFF_MAIN::rocket_exclude_inline_js' );
1008
  add_filter( 'rocket_defer_inline_exclusions', 'CPCFF_MAIN::rocket_exclude_inline_js' );
1009
  add_filter( 'rocket_delay_js_exclusions', 'CPCFF_MAIN::rocket_exclude_inline_js' );
1010
+
1011
+ // For Breeze conflicts
1012
+ if ( defined( 'BREEZE_VERSION' ) ) {
1013
+ add_filter( 'breeze_filter_html_before_minify', 'CPCFF_MAIN::breeze_check_content', 10 );
1014
+ add_filter( 'breeze_html_after_minify', 'CPCFF_MAIN::breeze_return_content', 10 );
1015
+ }
1016
  }
1017
  } // End troubleshoots
1018
 
1063
  return $excluded_js;
1064
  } // End rocket_exclude_inline_js
1065
 
1066
+ public static function breeze_check_content( $content ) {
1067
+ if ( strpos( $content, 'form_structure_' ) !== false ) {
1068
+ global $cff_breeze_content_bk;
1069
+ $cff_breeze_content_bk = $content;
1070
+ }
1071
+ return $content;
1072
+ } // End breeze_check_content
1073
+
1074
+ public static function breeze_return_content( $content ) {
1075
+ global $cff_breeze_content_bk;
1076
+ if( ! empty( $cff_breeze_content_bk ) ) {
1077
+ $content = $cff_breeze_content_bk;
1078
+ unset( $cff_breeze_content_bk );
1079
+ }
1080
+ return $content;
1081
+ } // End breeze_return_content
1082
  } // End CPCFF_MAIN
1083
  }
js/fbuilder-pro-public.jquery.js CHANGED
@@ -1,4 +1,4 @@
1
- $.fbuilder['version'] = '1.1.103';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
1
+ $.fbuilder['version'] = '1.1.104';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
languages/calculated-fields-form-en_US.mo CHANGED
Binary file
languages/calculated-fields-form-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2022-07-25 20:02+0200\n"
5
- "PO-Revision-Date: 2022-07-25 20:02+0200\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
@@ -818,19 +818,26 @@ msgstr ""
818
 
819
  #: inc/cpcff_compatibility.inc.php:20
820
  msgid ""
 
 
 
 
 
 
 
821
  "There is active the <b>Fast Velocity Minify</b> plugin. If the forms are not "
822
  "visible, please try disabling the <i>\"Disable minification on JS files\"</"
823
  "i> or <i>\"Disable JavaScript processing\"</i> options in the <b>Fast "
824
  "Velocity Minify</b> settings."
825
  msgstr ""
826
 
827
- #: inc/cpcff_compatibility.inc.php:26
828
  msgid ""
829
  "There is active the <b>W3 Total Cache</b> plugin. If the forms are not "
830
  "visible, please tick the checkbox."
831
  msgstr ""
832
 
833
- #: inc/cpcff_compatibility.inc.php:32
834
  msgid ""
835
  "There is active the <b>Autoptimize</b> plugin. If the forms are not visible, "
836
  "please try disabling the <i>\"Force JavaScript in &lt;head&gt;\"</i> option "
@@ -838,14 +845,14 @@ msgid ""
838
  "\"Exclude scripts from Autoptimize\"</i> one."
839
  msgstr ""
840
 
841
- #: inc/cpcff_compatibility.inc.php:38
842
  msgid ""
843
  "There is active the <b>LiteSpeed Cache</b> plugin. If the forms are not "
844
  "visible, please try disabling the <i>\"JS Combine\"</i> option in the "
845
  "<b>Optimize</b> tab of <b>LiteSpeed Cache</b> settings."
846
  msgstr ""
847
 
848
- #: inc/cpcff_compatibility.inc.php:44
849
  msgid ""
850
  "There is active the <b>WP Rocket</b> plugin. If the forms are not visible, "
851
  "please try disabling the <i>\"Combine JavaScript files\"</i> option in the "
@@ -853,7 +860,7 @@ msgid ""
853
  "clear the website cache."
854
  msgstr ""
855
 
856
- #: inc/cpcff_compatibility.inc.php:50
857
  msgid ""
858
  "There is active the <b>SG Optimizer</b> plugin. If the forms are not "
859
  "visible, please try disabling the options: <i>\"Minify the HTML Output\"</i> "
@@ -861,7 +868,7 @@ msgid ""
861
  "and remember to purge the website cache."
862
  msgstr ""
863
 
864
- #: inc/cpcff_compatibility.inc.php:56
865
  msgid ""
866
  "There is active the <b>Hummingbird</b> plugin. If the forms are not visible, "
867
  "check the <i>\"Hummingbird &gt; Asset Optimization\"</i> options. Make sure "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2022-08-10 02:26+0200\n"
5
+ "PO-Revision-Date: 2022-08-10 02:26+0200\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
818
 
819
  #: inc/cpcff_compatibility.inc.php:20
820
  msgid ""
821
+ "There is active the <b>Breeze - WordPress Cache Plugin</b> plugin. If the "
822
+ "forms are not visible, please tick the <i>\"There is active an optimization "
823
+ "plugin in WordPress\"</i> and Purge the Breeze cache."
824
+ msgstr ""
825
+
826
+ #: inc/cpcff_compatibility.inc.php:26
827
+ msgid ""
828
  "There is active the <b>Fast Velocity Minify</b> plugin. If the forms are not "
829
  "visible, please try disabling the <i>\"Disable minification on JS files\"</"
830
  "i> or <i>\"Disable JavaScript processing\"</i> options in the <b>Fast "
831
  "Velocity Minify</b> settings."
832
  msgstr ""
833
 
834
+ #: inc/cpcff_compatibility.inc.php:32
835
  msgid ""
836
  "There is active the <b>W3 Total Cache</b> plugin. If the forms are not "
837
  "visible, please tick the checkbox."
838
  msgstr ""
839
 
840
+ #: inc/cpcff_compatibility.inc.php:38
841
  msgid ""
842
  "There is active the <b>Autoptimize</b> plugin. If the forms are not visible, "
843
  "please try disabling the <i>\"Force JavaScript in &lt;head&gt;\"</i> option "
845
  "\"Exclude scripts from Autoptimize\"</i> one."
846
  msgstr ""
847
 
848
+ #: inc/cpcff_compatibility.inc.php:44
849
  msgid ""
850
  "There is active the <b>LiteSpeed Cache</b> plugin. If the forms are not "
851
  "visible, please try disabling the <i>\"JS Combine\"</i> option in the "
852
  "<b>Optimize</b> tab of <b>LiteSpeed Cache</b> settings."
853
  msgstr ""
854
 
855
+ #: inc/cpcff_compatibility.inc.php:50
856
  msgid ""
857
  "There is active the <b>WP Rocket</b> plugin. If the forms are not visible, "
858
  "please try disabling the <i>\"Combine JavaScript files\"</i> option in the "
860
  "clear the website cache."
861
  msgstr ""
862
 
863
+ #: inc/cpcff_compatibility.inc.php:56
864
  msgid ""
865
  "There is active the <b>SG Optimizer</b> plugin. If the forms are not "
866
  "visible, please try disabling the options: <i>\"Minify the HTML Output\"</i> "
868
  "and remember to purge the website cache."
869
  msgstr ""
870
 
871
+ #: inc/cpcff_compatibility.inc.php:62
872
  msgid ""
873
  "There is active the <b>Hummingbird</b> plugin. If the forms are not visible, "
874
  "check the <i>\"Hummingbird &gt; Asset Optimization\"</i> options. Make sure "