Contact Form Email - Version 1.2.87

Version Description

  • Compatible with WordPress 5.2
Download this release

Release Info

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

Code changes from version 1.2.86 to 1.2.87

README.txt CHANGED
@@ -456,6 +456,9 @@ When you click a field already added into the contact form builder area, you can
456
 
457
  == Changelog ==
458
 
 
 
 
459
  = 1.2.86 =
460
  * New feature for editing submissions
461
  * New feature for adding submissions from admin area
@@ -1018,6 +1021,5 @@ When you click a field already added into the contact form builder area, you can
1018
 
1019
  == Upgrade Notice ==
1020
 
1021
- = 1.2.86 =
1022
- * New feature for editing submissions
1023
- * New feature for adding submissions from admin area
456
 
457
  == Changelog ==
458
 
459
+ = 1.2.87 =
460
+ * Compatible with WordPress 5.2
461
+
462
  = 1.2.86 =
463
  * New feature for editing submissions
464
  * New feature for adding submissions from admin area
1021
 
1022
  == Upgrade Notice ==
1023
 
1024
+ = 1.2.87 =
1025
+ * Compatible with WordPress 5.2
 
cp-admin-int-list.inc.php CHANGED
@@ -315,6 +315,8 @@ $nonce = wp_create_nonce( 'cfte_update_actions_plist' );
315
  <label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-signature-20171025" name="cfte_addons" value="addon-signature-20171025">Signature Fields</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to replace form fields with "Signature" fields</div></div><div>
316
  <label for="addon-coupons-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-coupons-20171025" name="cfte_addons" value="addon-coupons-20171025">Coupon Codes</label> <div style="font-style:italic;padding-left:20px;">The add-on adds support for coupons / discounts codes for payments</div></div> <div>
317
  <label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-paymentcalculations-20171025" name="cfte_addons" value="addon-paymentcalculations-20171025">Payment Calculations</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the number values on dropdowns / checkboxes / radiobuttons to the total price for payments</div></div>
 
 
318
  </fieldset>
319
 
320
 
315
  <label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-signature-20171025" name="cfte_addons" value="addon-signature-20171025">Signature Fields</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to replace form fields with "Signature" fields</div></div><div>
316
  <label for="addon-coupons-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-coupons-20171025" name="cfte_addons" value="addon-coupons-20171025">Coupon Codes</label> <div style="font-style:italic;padding-left:20px;">The add-on adds support for coupons / discounts codes for payments</div></div> <div>
317
  <label for="addon-signature-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-paymentcalculations-20171025" name="cfte_addons" value="addon-paymentcalculations-20171025">Payment Calculations</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the number values on dropdowns / checkboxes / radiobuttons to the total price for payments</div></div>
318
+ <div>
319
+ <label for="addon-ureg-20171025" style="font-weight:bold;"><input type="checkbox" disabled id="addon-ureg-20171025" name="cfte_addons" value="addon-ureg-20171025">User Registration</label> <div style="font-style:italic;padding-left:20px;">The add-on creates a WordPress user account upon submission</div></div>
320
  </fieldset>
321
 
322
 
cp-main-class.inc.php CHANGED
@@ -264,7 +264,7 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
264
  document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.cp_ref_page.value = document.location;
265
  $dexQuery = jQuery.noConflict();<?php if (!is_admin() && $this->get_option('cv_enable_captcha', CP_CFEMAIL_DEFAULT_cv_enable_captcha) != 'false') { ?>
266
  if (document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.hdcaptcha_<?php echo $this->prefix; ?>_post.value == '') { setTimeout( "<?php echo $this->prefix; ?>_cerror<?php echo '_'.$this->print_counter; ?>()", 100); return false; }
267
- var result = $dexQuery.ajax({ type: "GET", url: "<?php echo $this->get_site_url(); ?>/?ps=<?php echo '_'.$this->print_counter; ?>&<?php echo $this->prefix; ?>_pform_process=2&inAdmin=1&ps=<?php echo '_'.$this->print_counter; ?>&hdcaptcha_<?php echo $this->prefix; ?>_post="+document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.hdcaptcha_<?php echo $this->prefix; ?>_post.value, async: false }).responseText;
268
  if (result.indexOf("captchafailed") != -1) {
269
  $dexQuery("#captchaimg<?php echo '_'.$this->print_counter; ?>").attr('src', $dexQuery("#captchaimg<?php echo '_'.$this->print_counter; ?>").attr('src')+'&'+Math.floor((Math.random() * 99999) + 1));
270
  setTimeout( "<?php echo $this->prefix; ?>_cerror<?php echo '_'.$this->print_counter; ?>()", 100);
264
  document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.cp_ref_page.value = document.location;
265
  $dexQuery = jQuery.noConflict();<?php if (!is_admin() && $this->get_option('cv_enable_captcha', CP_CFEMAIL_DEFAULT_cv_enable_captcha) != 'false') { ?>
266
  if (document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.hdcaptcha_<?php echo $this->prefix; ?>_post.value == '') { setTimeout( "<?php echo $this->prefix; ?>_cerror<?php echo '_'.$this->print_counter; ?>()", 100); return false; }
267
+ var result = $dexQuery.ajax({ type: "GET", url: "<?php echo $this->get_site_url(); ?>/?ps=<?php echo '_'.$this->print_counter; ?>&<?php echo $this->prefix; ?>_pform_process=2&<?php echo $this->prefix; ?>_id=<?php echo $this->item; ?>&inAdmin=1&ps=<?php echo '_'.$this->print_counter; ?>&hdcaptcha_<?php echo $this->prefix; ?>_post="+document.<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>.hdcaptcha_<?php echo $this->prefix; ?>_post.value, async: false }).responseText;
268
  if (result.indexOf("captchafailed") != -1) {
269
  $dexQuery("#captchaimg<?php echo '_'.$this->print_counter; ?>").attr('src', $dexQuery("#captchaimg<?php echo '_'.$this->print_counter; ?>").attr('src')+'&'+Math.floor((Math.random() * 99999) + 1));
270
  setTimeout( "<?php echo $this->prefix; ?>_cerror<?php echo '_'.$this->print_counter; ?>()", 100);
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.86
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
@@ -110,7 +110,7 @@ if (function_exists('register_block_type'))
110
  ));
111
  }
112
 
113
- $codepeople_promote_banner_plugins[ 'contact-form-to-email' ] = array( 'plugin_name' => 'Contact Form Email', 'plugin_url' => 'https://wordpress.org/support/plugin/contact-form-to-email/reviews/#new-post');
114
  require_once 'banner.php';
115
 
116
  // improve block
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.87
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
110
  ));
111
  }
112
 
113
+ $codepeople_promote_banner_plugins[ 'contact-form-to-email' ] = array( 'plugin_name' => 'Contact Form Email', 'plugin_url' => 'https://wordpress.org/support/plugin/contact-form-to-email/reviews/?filter=5#new-post');
114
  require_once 'banner.php';
115
 
116
  // improve block