Custom Contact Forms - Version 6.3.1

Version Description

  • Fix email confirm in from email submission sending
Download this release

Release Info

Developer tlovett1
Plugin Icon 128x128 Custom Contact Forms
Version 6.3.1
Comparing to
See all releases

Code changes from version 6.3 to 6.3.1

classes/class-ccf-form-handler.php CHANGED
@@ -631,8 +631,13 @@ class CCF_Form_Handler {
631
  $email_field = get_post_meta( $form_id, 'ccf_form_email_notification_from_field', true );
632
 
633
  if ( ! empty( $email_field ) && ! empty( $submission[$email_field] ) ) {
634
- $headers[] = 'From: ' . sanitize_email( $submission[$email_field] );
635
- $headers[] = 'Reply-To: ' . sanitize_email( $submission[$email_field] );
 
 
 
 
 
636
  }
637
  }
638
 
631
  $email_field = get_post_meta( $form_id, 'ccf_form_email_notification_from_field', true );
632
 
633
  if ( ! empty( $email_field ) && ! empty( $submission[$email_field] ) ) {
634
+ if ( is_array( $submission[$email_field] ) && ! empty( $submission[$email_field]['confirm'] ) ) {
635
+ $headers[] = 'From: ' . sanitize_email( $submission[$email_field]['confirm'] );
636
+ $headers[] = 'Reply-To: ' . sanitize_email( $submission[$email_field]['confirm'] );
637
+ } else {
638
+ $headers[] = 'From: ' . sanitize_email( $submission[$email_field] );
639
+ $headers[] = 'Reply-To: ' . sanitize_email( $submission[$email_field] );
640
+ }
641
  }
642
  }
643
 
custom-contact-forms.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
- * Version: 6.3
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
+ * Version: 6.3.1
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
languages/custom-contact-forms.mo CHANGED
Binary file
languages/custom-contact-forms.po CHANGED
@@ -5,8 +5,8 @@ msgstr ""
5
  "Project-Id-Version: Custom Contact Forms\n"
6
  "Report-Msgid-Bugs-To: https://github.com/tlovett1/editorial-access-manager/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-01-22 15:33-0000\n"
9
- "PO-Revision-Date: 2015-01-22 15:33-0000\n"
10
  "Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
12
  "Language: en\n"
5
  "Project-Id-Version: Custom Contact Forms\n"
6
  "Report-Msgid-Bugs-To: https://github.com/tlovett1/editorial-access-manager/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-01-22 15:35-0000\n"
9
+ "PO-Revision-Date: 2015-01-22 15:35-0000\n"
10
  "Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
12
  "Language: en\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
- Stable tag: 6.3
8
 
9
  Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
10
 
@@ -33,6 +33,9 @@ For questions, feature requests, and support concerning the Custom Contact Forms
33
 
34
  = Changelog ==
35
 
 
 
 
36
  = 6.3 =
37
  * Add form notifications tab
38
  * Make from address for email notifications configurable
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
+ Stable tag: 6.3.1
8
 
9
  Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
10
 
33
 
34
  = Changelog ==
35
 
36
+ = 6.3.1 =
37
+ * Fix email confirm in from email submission sending
38
+
39
  = 6.3 =
40
  * Add form notifications tab
41
  * Make from address for email notifications configurable