Contact Form Email - Version 1.2.53

Version Description

  • New activation issue fixed
Download this release

Release Info

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

Code changes from version 1.2.52 to 1.2.53

Files changed (3) hide show
  1. README.txt +5 -2
  2. cp-admin-int-list.inc.php +2 -1
  3. form-to-email.php +7 -2
README.txt CHANGED
@@ -454,6 +454,9 @@ When you click a field already added into the contact form builder area, you can
454
 
455
  == Changelog ==
456
 
 
 
 
457
  = 1.2.52 =
458
  * Improved errors detection
459
 
@@ -917,5 +920,5 @@ When you click a field already added into the contact form builder area, you can
917
 
918
  == Upgrade Notice ==
919
 
920
- = 1.2.52 =
921
- * Improved errors detection
454
 
455
  == Changelog ==
456
 
457
+ = 1.2.53 =
458
+ * New activation issue fixed
459
+
460
  = 1.2.52 =
461
  * Improved errors detection
462
 
920
 
921
  == Upgrade Notice ==
922
 
923
+ = 1.2.53 =
924
+ * New activation issue fixed
cp-admin-int-list.inc.php CHANGED
@@ -385,7 +385,8 @@ $nonce = wp_create_nonce( 'cfte_update_actions_plist' );
385
  <fieldset class="cpfieldset"><legend>Improvements</legend>
386
  <div><label for="addon-cfficalattachment-20180730" style="font-weight:bold;"><input type="checkbox" disabled id="addon-cfficalattachment-20180730" name="cfte_addons" value="addon-cfficalattachment-20180730" >iCal Export Attached</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to attach an iCal file with the date of a field</div></div><div>
387
  <label for="addon-uploads-20160330" style="font-weight:bold;"><input type="checkbox" disabled id="addon-uploads-20160330" name="cfte_addons" value="addon-uploads-20160330" >Uploads</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the uploaded files to the Media Library, and the support for new mime types</div></div><div>
388
- <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>
 
389
  </fieldset>
390
 
391
 
385
  <fieldset class="cpfieldset"><legend>Improvements</legend>
386
  <div><label for="addon-cfficalattachment-20180730" style="font-weight:bold;"><input type="checkbox" disabled id="addon-cfficalattachment-20180730" name="cfte_addons" value="addon-cfficalattachment-20180730" >iCal Export Attached</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to attach an iCal file with the date of a field</div></div><div>
387
  <label for="addon-uploads-20160330" style="font-weight:bold;"><input type="checkbox" disabled id="addon-uploads-20160330" name="cfte_addons" value="addon-uploads-20160330" >Uploads</label> <div style="font-style:italic;padding-left:20px;">The add-on allows to add the uploaded files to the Media Library, and the support for new mime types</div></div><div>
388
+ <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>
389
+ <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>
390
  </fieldset>
391
 
392
 
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.52
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
@@ -72,7 +72,12 @@ add_action('plugins_loaded', 'cfte_plugin_init');
72
 
73
  //START: activation redirection
74
  function cfte_activation_redirect( $plugin ) {
75
- if( $plugin == plugin_basename( __FILE__ ) ) {
 
 
 
 
 
76
  exit( wp_redirect( admin_url( 'admin.php?page=cp_contactformtoemail' ) ) );
77
  }
78
  }
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.53
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
72
 
73
  //START: activation redirection
74
  function cfte_activation_redirect( $plugin ) {
75
+ if(
76
+ $plugin == plugin_basename( __FILE__ ) &&
77
+ (!isset($_POST["action"]) || $_POST["action"] != 'activate-selected') &&
78
+ (!isset($_POST["action2"]) || $_POST["action2"] != 'activate-selected')
79
+ )
80
+ {
81
  exit( wp_redirect( admin_url( 'admin.php?page=cp_contactformtoemail' ) ) );
82
  }
83
  }