Version Description
- Fixes a bug where duplicating a contact form wouldn't copy over the redirect field from the original form.
Download this release
Release Info
Developer | rnevius |
Plugin | Contact Form 7 – Success Page Redirects |
Version | 1.1.5 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.1.5
- cf7-success-page-redirects.php +2 -4
- readme.txt +4 -1
cf7-success-page-redirects.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Contact Form 7 - Success Page Redirects
|
4 |
* Description: An add-on for Contact Form 7 that provides a straightforward method to redirect visitors to success pages or thank you pages.
|
5 |
-
* Version: 1.1.
|
6 |
* Author: Ryan Nevius
|
7 |
* Author URI: http://www.ryannevius.com
|
8 |
* License: GPLv3
|
@@ -82,7 +82,7 @@ function cf7_success_page_save_contact_form( $contact_form ) {
|
|
82 |
update_post_meta( $contact_form_id, '_cf7_success_page_key', $_POST['cf7-redirect-page-id'] );
|
83 |
}
|
84 |
}
|
85 |
-
add_action( '
|
86 |
|
87 |
|
88 |
/**
|
@@ -99,5 +99,3 @@ function cf7_success_page_form_submitted( $contact_form ) {
|
|
99 |
}
|
100 |
}
|
101 |
add_action( 'wpcf7_mail_sent', 'cf7_success_page_form_submitted' );
|
102 |
-
|
103 |
-
?>
|
2 |
/**
|
3 |
* Plugin Name: Contact Form 7 - Success Page Redirects
|
4 |
* Description: An add-on for Contact Form 7 that provides a straightforward method to redirect visitors to success pages or thank you pages.
|
5 |
+
* Version: 1.1.5
|
6 |
* Author: Ryan Nevius
|
7 |
* Author URI: http://www.ryannevius.com
|
8 |
* License: GPLv3
|
82 |
update_post_meta( $contact_form_id, '_cf7_success_page_key', $_POST['cf7-redirect-page-id'] );
|
83 |
}
|
84 |
}
|
85 |
+
add_action( 'wpcf7_after_save', 'cf7_success_page_save_contact_form' );
|
86 |
|
87 |
|
88 |
/**
|
99 |
}
|
100 |
}
|
101 |
add_action( 'wpcf7_mail_sent', 'cf7_success_page_form_submitted' );
|
|
|
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: rnevius
|
3 |
Tags: contact form 7, cf7, contact forms 7, contact form, redirect, forms, form redirect, form, success pages, thank you pages, contact form 7 add-on, cf7 redirect, cf7 success, contact form 7 redirect, contact form 7 success
|
4 |
Requires at least: 3.8.2
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -48,6 +48,9 @@ In order to ensure that all forms are submitted properly, and that users can be
|
|
48 |
|
49 |
== Changelog ==
|
50 |
|
|
|
|
|
|
|
51 |
= 1.1.4 =
|
52 |
* Upgrade process for verifying that Contact Form 7 is installed and up to date.
|
53 |
|
2 |
Contributors: rnevius
|
3 |
Tags: contact form 7, cf7, contact forms 7, contact form, redirect, forms, form redirect, form, success pages, thank you pages, contact form 7 add-on, cf7 redirect, cf7 success, contact form 7 redirect, contact form 7 success
|
4 |
Requires at least: 3.8.2
|
5 |
+
Tested up to: 4.1
|
6 |
Stable tag: trunk
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
48 |
|
49 |
== Changelog ==
|
50 |
|
51 |
+
= 1.1.5 =
|
52 |
+
* Fixes a bug where duplicating a contact form wouldn't copy over the redirect field from the original form.
|
53 |
+
|
54 |
= 1.1.4 =
|
55 |
* Upgrade process for verifying that Contact Form 7 is installed and up to date.
|
56 |
|