Contact Form Email - Version 1.2.38

Version Description

  • Fixed conflict with autoptimize plugin
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Contact Form Email
Version 1.2.38
Comparing to
See all releases

Code changes from version 1.2.37 to 1.2.38

Files changed (2) hide show
  1. README.txt +5 -2
  2. form-to-email.php +4 -1
README.txt CHANGED
@@ -448,6 +448,9 @@ When you click a field already added into the contact form builder area, you can
448
 
449
  == Changelog ==
450
 
 
 
 
451
  = 1.2.37 =
452
  * Added field for Accept terms / GDPR compliant feature
453
 
@@ -866,5 +869,5 @@ When you click a field already added into the contact form builder area, you can
866
 
867
  == Upgrade Notice ==
868
 
869
- = 1.2.37 =
870
- * Added field for Accept terms / GDPR compliant feature
448
 
449
  == Changelog ==
450
 
451
+ = 1.2.38 =
452
+ * Fixed conflict with autoptimize plugin
453
+
454
  = 1.2.37 =
455
  * Added field for Accept terms / GDPR compliant feature
456
 
869
 
870
  == Upgrade Notice ==
871
 
872
+ = 1.2.38 =
873
+ * Fixed conflict with autoptimize plugin
form-to-email.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
- Version: 1.2.37
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
@@ -64,6 +64,9 @@ add_action( 'plugins_loaded', array($cp_cfte_plugin, 'data_management'));
64
 
65
  function cfte_plugin_init() {
66
  load_plugin_textdomain( 'contact-form-to-email', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
 
 
 
67
  }
68
  add_action('plugins_loaded', 'cfte_plugin_init');
69
 
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
+ Version: 1.2.38
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
64
 
65
  function cfte_plugin_init() {
66
  load_plugin_textdomain( 'contact-form-to-email', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
67
+ $ao_options = get_option('autoptimize_js_exclude',"seal.js, js/jquery/jquery.js");
68
+ if (!strpos($ao_options,'stringify.js'))
69
+ update_option('autoptimize_js_exclude',"jQuery.stringify.js,jquery.validate.js,".$ao_options);
70
  }
71
  add_action('plugins_loaded', 'cfte_plugin_init');
72