Version Description
- Fix IE bug where browser was prompting for download
Download this release
Release Info
Developer | tlovett1 |
Plugin | Custom Contact Forms |
Version | 6.4.2 |
Comparing to | |
See all releases |
Code changes from version 6.4.1 to 6.4.2
- bin/production-ready.sh +2 -1
- classes/class-ccf-form-handler.php +3 -1
- custom-contact-forms.php +1 -1
- readme.txt +4 -1
bin/production-ready.sh
CHANGED
@@ -15,6 +15,7 @@ if [ "$input_variable" == "y" ]; then
|
|
15 |
rm -rf scss > /dev/null 2>&1
|
16 |
rm -rf tests > /dev/null 2>&1
|
17 |
rm -rf .sass-cache > /dev/null 2>&1
|
|
|
18 |
|
19 |
rm .travis.yml > /dev/null 2>&1
|
20 |
rm Gruntfile.js > /dev/null 2>&1
|
@@ -24,4 +25,4 @@ if [ "$input_variable" == "y" ]; then
|
|
24 |
bower install --production > /dev/null 2>&1
|
25 |
|
26 |
echo "Done! Custom Contact Forms is cleaned up and production ready."
|
27 |
-
fi
|
15 |
rm -rf scss > /dev/null 2>&1
|
16 |
rm -rf tests > /dev/null 2>&1
|
17 |
rm -rf .sass-cache > /dev/null 2>&1
|
18 |
+
rm -rf vendor/wp-api/wp-api/.git > /dev/null 2>&1
|
19 |
|
20 |
rm .travis.yml > /dev/null 2>&1
|
21 |
rm Gruntfile.js > /dev/null 2>&1
|
25 |
bower install --production > /dev/null 2>&1
|
26 |
|
27 |
echo "Done! Custom Contact Forms is cleaned up and production ready."
|
28 |
+
fi
|
classes/class-ccf-form-handler.php
CHANGED
@@ -564,7 +564,9 @@ class CCF_Form_Handler {
|
|
564 |
$submission_response = $this->process_submission();
|
565 |
|
566 |
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
567 |
-
|
|
|
|
|
568 |
} else {
|
569 |
if ( ! empty( $submission_response['completion_redirect_url'] ) ) {
|
570 |
wp_redirect( esc_url_raw( $submission_response['completion_redirect_url'] ) );
|
564 |
$submission_response = $this->process_submission();
|
565 |
|
566 |
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
567 |
+
// Hack to fix IE prompting for download
|
568 |
+
echo wp_json_encode( $submission_response );
|
569 |
+
wp_die();
|
570 |
} else {
|
571 |
if ( ! empty( $submission_response['completion_redirect_url'] ) ) {
|
572 |
wp_redirect( esc_url_raw( $submission_response['completion_redirect_url'] ) );
|
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.4.
|
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.4.2
|
8 |
* Author URI: http://www.taylorlovett.com
|
9 |
*/
|
10 |
|
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.2
|
7 |
-
Stable tag: 6.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -35,6 +35,9 @@ For questions, feature requests, and support concerning the Custom Contact Forms
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
38 |
= 6.4.1 =
|
39 |
* Fix ie8 bug where dragging a selected field broke the manager.
|
40 |
* Don't email field label for hidden fields
|
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.2
|
7 |
+
Stable tag: 6.4.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 6.4.2 =
|
39 |
+
* Fix IE bug where browser was prompting for download
|
40 |
+
|
41 |
= 6.4.1 =
|
42 |
* Fix ie8 bug where dragging a selected field broke the manager.
|
43 |
* Don't email field label for hidden fields
|