Version Description
- Modifies the loading scripts to solve issues caused by optimizer plugins.
Download this release
Release Info
Developer | codepeople |
Plugin | Calculated Fields Form |
Version | 1.1.118 |
Comparing to | |
See all releases |
Code changes from version 1.1.117 to 1.1.118
- README.txt +6 -6
- changelog.txt +4 -0
- cp_calculatedfieldsf_free.php +2 -2
- inc/cpcff_main.inc.php +14 -15
- js/fbuilder-pro-public.jquery.js +1 -1
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -965,6 +965,10 @@ A: Please, follow the steps below:
|
|
965 |
|
966 |
== Changelog ==
|
967 |
|
|
|
|
|
|
|
|
|
968 |
= 1.1.117 =
|
969 |
|
970 |
* Modifies the SUM operation.
|
@@ -1012,8 +1016,4 @@ A: Please, follow the steps below:
|
|
1012 |
* Modifies the forms generator.
|
1013 |
* Fixes a minor issue in the button control.
|
1014 |
* Makes the form name a required attribute.
|
1015 |
-
* Modifies the currentdate and submissiondate tags in the notification emails and thank you pages to accept a separator symbol between date components (Professional, Developer, and Platinum versions).
|
1016 |
-
|
1017 |
-
= 1.1.108 =
|
1018 |
-
|
1019 |
-
* Implements the create form from the templates library module.
|
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.118
|
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.118 =
|
969 |
+
|
970 |
+
* Modifies the loading scripts to solve issues caused by optimizer plugins.
|
971 |
+
|
972 |
= 1.1.117 =
|
973 |
|
974 |
* Modifies the SUM operation.
|
1016 |
* Modifies the forms generator.
|
1017 |
* Fixes a minor issue in the button control.
|
1018 |
* Makes the form name a required attribute.
|
1019 |
+
* Modifies the currentdate and submissiondate tags in the notification emails and thank you pages to accept a separator symbol between date components (Professional, Developer, and Platinum versions).
|
|
|
|
|
|
|
|
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 1.1.117 =
|
4 |
|
5 |
* Modifies the SUM operation.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.1.118 =
|
4 |
+
|
5 |
+
* Modifies the loading scripts to solve issues caused by optimizer plugins.
|
6 |
+
|
7 |
= 1.1.117 =
|
8 |
|
9 |
* Modifies the SUM operation.
|
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.
|
7 |
Text Domain: calculated-fields-form
|
8 |
Author: CodePeople
|
9 |
Author URI: https://cff.dwbooster.com
|
@@ -15,7 +15,7 @@ if ( ! defined( 'WP_DEBUG' ) || true != WP_DEBUG ) {
|
|
15 |
}
|
16 |
|
17 |
// Defining main constants
|
18 |
-
define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.
|
19 |
define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
|
20 |
define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
21 |
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.118
|
7 |
Text Domain: calculated-fields-form
|
8 |
Author: CodePeople
|
9 |
Author URI: https://cff.dwbooster.com
|
15 |
}
|
16 |
|
17 |
// Defining main constants
|
18 |
+
define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.118' );
|
19 |
define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
|
20 |
define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
21 |
define( 'CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
inc/cpcff_main.inc.php
CHANGED
@@ -919,20 +919,16 @@ if ( ! class_exists( 'CPCFF_MAIN' ) ) {
|
|
919 |
print '<script type="text/javascript" src="' . esc_attr( $includes_url ) . 'js/jquery/ui/' . esc_attr( $prefix_ui ) . 'slider.min.js"></script>'; // phpcs:ignore WordPress.WP.EnqueuedResources
|
920 |
}
|
921 |
?>
|
922 |
-
<script>if( typeof fbuilderjQuery == 'undefined')
|
923 |
<script type='text/javascript' src='<?php echo esc_attr( plugins_url( 'vendors/jquery.validate.js', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
924 |
<script type='text/javascript' src='<?php echo esc_attr( plugins_url( 'vendors/jQuery.stringify.js', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
925 |
<script type='text/javascript' src='<?php echo esc_attr( $public_js_path . ( ( strpos( $public_js_path, '?' ) == false ) ? '?' : '&' ) . 'ver=' . CP_CALCULATEDFIELDSF_VERSION ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
926 |
<?php
|
927 |
}
|
928 |
?>
|
929 |
-
<pre style="display:none !important;"><script type='text/javascript'
|
930 |
-
|
931 |
-
|
932 |
-
print 'var cp_calculatedfieldsf_fbuilder_config_' . esc_js( self::$form_counter ) . '={"obj":' . $config_json . '};'; // phpcs:ignore WordPress.Security.EscapeOutput
|
933 |
-
?>
|
934 |
-
/* ]]> */
|
935 |
-
</script></pre>
|
936 |
<?php
|
937 |
}
|
938 |
} // End _public_resources
|
@@ -1044,13 +1040,16 @@ if ( ! class_exists( 'CPCFF_MAIN' ) ) {
|
|
1044 |
} // End rocket_exclude_js
|
1045 |
|
1046 |
public static function rocket_exclude_inline_js( $excluded_js = array() ) {
|
1047 |
-
|
1048 |
-
$excluded_js[]
|
1049 |
-
$excluded_js[]
|
1050 |
-
$excluded_js[]
|
1051 |
-
$excluded_js[]
|
1052 |
-
$excluded_js[]
|
1053 |
-
$excluded_js[]
|
|
|
|
|
|
|
1054 |
return $excluded_js;
|
1055 |
} // End rocket_exclude_inline_js
|
1056 |
|
919 |
print '<script type="text/javascript" src="' . esc_attr( $includes_url ) . 'js/jquery/ui/' . esc_attr( $prefix_ui ) . 'slider.min.js"></script>'; // phpcs:ignore WordPress.WP.EnqueuedResources
|
920 |
}
|
921 |
?>
|
922 |
+
<script type='text/javascript'> if( typeof fbuilderjQuery == 'undefined' && typeof jQuery != 'undefined' ) fbuilderjQuery = jQuery.noConflict( );</script>
|
923 |
<script type='text/javascript' src='<?php echo esc_attr( plugins_url( 'vendors/jquery.validate.js', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
924 |
<script type='text/javascript' src='<?php echo esc_attr( plugins_url( 'vendors/jQuery.stringify.js', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
925 |
<script type='text/javascript' src='<?php echo esc_attr( $public_js_path . ( ( strpos( $public_js_path, '?' ) == false ) ? '?' : '&' ) . 'ver=' . CP_CALCULATEDFIELDSF_VERSION ); // phpcs:ignore WordPress.WP.EnqueuedResources ?>'></script>
|
926 |
<?php
|
927 |
}
|
928 |
?>
|
929 |
+
<pre style="display:none !important;"><script type='text/javascript'><?php
|
930 |
+
print 'cp_calculatedfieldsf_fbuilder_config_' . esc_js( self::$form_counter ) . '={"obj":' . $config_json . '};'; // phpcs:ignore WordPress.Security.EscapeOutput
|
931 |
+
?></script></pre>
|
|
|
|
|
|
|
|
|
932 |
<?php
|
933 |
}
|
934 |
} // End _public_resources
|
1040 |
} // End rocket_exclude_js
|
1041 |
|
1042 |
public static function rocket_exclude_inline_js( $excluded_js = array() ) {
|
1043 |
+
$excluded_js[] = 'form_structure_';
|
1044 |
+
$excluded_js[] = 'fbuilderjQuery';
|
1045 |
+
$excluded_js[] = 'fbuilderjQuery(.*)';
|
1046 |
+
$excluded_js[] = '(.*)fbuilderjQuery(.*)';
|
1047 |
+
$excluded_js[] = 'doValidate_';
|
1048 |
+
$excluded_js[] = 'cpcff_default';
|
1049 |
+
$excluded_js[] = 'cp_calculatedfieldsf_fbuilder_config_';
|
1050 |
+
$excluded_js[] = 'form_structure(.*)';
|
1051 |
+
$excluded_js[] = 'doValidate(.*)';
|
1052 |
+
$excluded_js[] = 'cp_calculatedfieldsf_fbuilder_config(.*)';
|
1053 |
return $excluded_js;
|
1054 |
} // End rocket_exclude_inline_js
|
1055 |
|
js/fbuilder-pro-public.jquery.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
$.fbuilder['version'] = '1.1.
|
2 |
$.fbuilder['controls'] = $.fbuilder['controls'] || {};
|
3 |
$.fbuilder['forms'] = $.fbuilder['forms'] || {};
|
4 |
|
1 |
+
$.fbuilder['version'] = '1.1.118';
|
2 |
$.fbuilder['controls'] = $.fbuilder['controls'] || {};
|
3 |
$.fbuilder['forms'] = $.fbuilder['forms'] || {};
|
4 |
|