Version Description
- Fixed a bug: URL query parameters are now properly decoded.
Download this release
Release Info
Developer | yuvalsabar |
Plugin | Contact Form 7 Redirection |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- js/wpcf7-redirect-script.js +2 -2
- readme.txt +8 -13
- wpcf7-redirect.php +7 -8
js/wpcf7-redirect-script.js
CHANGED
@@ -22,7 +22,7 @@ function wpcf7_redirect_mailsent_handler() {
|
|
22 |
// Build http query
|
23 |
if ( form.http_build_query ) {
|
24 |
http_query = jQuery.param( event.detail.inputs, true );
|
25 |
-
redirect_url = redirect_url + '?' + http_query;
|
26 |
} else if ( form.http_build_query_selectively ) {
|
27 |
http_query = '?';
|
28 |
selective_fields = form.http_build_query_selectively_fields.split(' ').join('');
|
@@ -33,7 +33,7 @@ function wpcf7_redirect_mailsent_handler() {
|
|
33 |
});
|
34 |
|
35 |
http_query = http_query.slice(0, -1);
|
36 |
-
redirect_url = redirect_url + http_query;
|
37 |
}
|
38 |
|
39 |
// Redirect
|
22 |
// Build http query
|
23 |
if ( form.http_build_query ) {
|
24 |
http_query = jQuery.param( event.detail.inputs, true );
|
25 |
+
redirect_url = redirect_url + '?' + decodeURIComponent(http_query);
|
26 |
} else if ( form.http_build_query_selectively ) {
|
27 |
http_query = '?';
|
28 |
selective_fields = form.http_build_query_selectively_fields.split(' ').join('');
|
33 |
});
|
34 |
|
35 |
http_query = http_query.slice(0, -1);
|
36 |
+
redirect_url = redirect_url + decodeURIComponent(http_query);
|
37 |
}
|
38 |
|
39 |
// Redirect
|
readme.txt
CHANGED
@@ -1,17 +1,9 @@
|
|
1 |
-
=== Contact Form 7
|
2 |
Tags: contact form 7 redirect, contact form 7 thank you page, redirect cf7, redirect contact form 7, contact form 7 success page, cf7 redirect
|
3 |
Contributors: yuvalsabar
|
4 |
Requires at least: 4.7.0
|
5 |
-
|
6 |
-
|
7 |
-
Stable tag: 1.3.2
|
8 |
-
||||||| .r2047940
|
9 |
-
Tested up to: 5.0
|
10 |
-
Stable tag: 1.3.0
|
11 |
-
=======
|
12 |
-
Tested up to: 5.1.1
|
13 |
-
Stable tag: 1.3.0
|
14 |
-
>>>>>>> .r2100840
|
15 |
License: GPLv3 or later
|
16 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
17 |
|
@@ -50,11 +42,11 @@ Simply go to your form settings, choose the "Redirect Settings" tab and set the
|
|
50 |
* **[Pro]** PayPal Integration
|
51 |
|
52 |
|
53 |
-
> Note: some features are availible only in the Pro version. Which means you need Contact Form 7
|
54 |
|
55 |
== Installation ==
|
56 |
|
57 |
-
Installing Contact Form 7
|
58 |
|
59 |
1. Download the plugin via WordPress.org.
|
60 |
2. Upload the ZIP file through the "Plugins > Add New > Upload" screen in your WordPress dashboard.
|
@@ -77,6 +69,9 @@ No. One of the reasons we developed this plugin, is because on_send_ok is now de
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 1.3.2 =
|
81 |
* New feature: delay redirection in milliseconds.
|
82 |
|
1 |
+
=== Redirection for Contact Form 7 ===
|
2 |
Tags: contact form 7 redirect, contact form 7 thank you page, redirect cf7, redirect contact form 7, contact form 7 success page, cf7 redirect
|
3 |
Contributors: yuvalsabar
|
4 |
Requires at least: 4.7.0
|
5 |
+
Tested up to: 5.2.2
|
6 |
+
Stable tag: 1.3.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
42 |
* **[Pro]** PayPal Integration
|
43 |
|
44 |
|
45 |
+
> Note: some features are availible only in the Pro version. Which means you need Redirection for Contact Form 7 Pro to unlock those features. You can [get Redirection for Contact Form 7 Pro here](http://querysol.com/product/contact-form-7-redirection/)!
|
46 |
|
47 |
== Installation ==
|
48 |
|
49 |
+
Installing Redirection for Contact Form 7 can be done either by searching for "Redirection for Contact Form 7" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:
|
50 |
|
51 |
1. Download the plugin via WordPress.org.
|
52 |
2. Upload the ZIP file through the "Plugins > Add New > Upload" screen in your WordPress dashboard.
|
69 |
|
70 |
== Changelog ==
|
71 |
|
72 |
+
= 1.3.3 =
|
73 |
+
* Fixed a bug: URL query parameters are now properly decoded.
|
74 |
+
|
75 |
= 1.3.2 =
|
76 |
* New feature: delay redirection in milliseconds.
|
77 |
|
wpcf7-redirect.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Contact Form 7
|
4 |
* Plugin URI: http://querysol.com
|
5 |
* Description: Contact Form 7 Add-on - Redirect after mail sent.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Query Solutions
|
8 |
* Author URI: http://querysol.com
|
9 |
* Contributors: querysolutions, yuvalsabar
|
@@ -12,7 +12,7 @@
|
|
12 |
* Text Domain: wpcf7-redirect
|
13 |
* Domain Path: /lang
|
14 |
*
|
15 |
-
* @package Contact Form 7
|
16 |
* @category Contact Form 7 Addon
|
17 |
* @author Query Solutions
|
18 |
*/
|
@@ -31,7 +31,7 @@ class WPCF7_Redirect {
|
|
31 |
public function __construct() {
|
32 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
33 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
34 |
-
$this->version = '1.3.
|
35 |
$this->add_actions();
|
36 |
}
|
37 |
|
@@ -317,7 +317,7 @@ class WPCF7_Redirect {
|
|
317 |
<div class="wpcf7-redirect-pro-admin-notice updated notice is-dismissible">
|
318 |
<p>
|
319 |
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
320 |
-
Contact Form 7
|
321 |
</a>
|
322 |
</p>
|
323 |
</div>
|
@@ -386,7 +386,7 @@ class WPCF7_Redirect {
|
|
386 |
<span class="screen-reader-text"><?php _e( 'Close Banner', 'qstheme' );?>.</span>
|
387 |
</button>
|
388 |
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
389 |
-
<img src="<?php echo $this->plugin_url;?>/img/banner-pro.png" alt="<?php _e( 'Banner - Contact Form 7
|
390 |
</a>
|
391 |
</div>
|
392 |
|
@@ -481,7 +481,7 @@ class WPCF7_Redirect {
|
|
481 |
<div class="get-pro-wrap">
|
482 |
<div class="get-pro">
|
483 |
<span class="dashicons dashicons-star-filled"></span>
|
484 |
-
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">Contact Form 7
|
485 |
<span class="dashicons dashicons-star-filled"></span>
|
486 |
</div>
|
487 |
</div>
|
@@ -493,4 +493,3 @@ class WPCF7_Redirect {
|
|
493 |
register_activation_hook( __FILE__, array( 'WPCF7_Redirect', 'install' ) );
|
494 |
|
495 |
$cf7_redirect = new WPCF7_Redirect();
|
496 |
-
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Redirection for Contact Form 7
|
4 |
* Plugin URI: http://querysol.com
|
5 |
* Description: Contact Form 7 Add-on - Redirect after mail sent.
|
6 |
+
* Version: 1.3.3
|
7 |
* Author: Query Solutions
|
8 |
* Author URI: http://querysol.com
|
9 |
* Contributors: querysolutions, yuvalsabar
|
12 |
* Text Domain: wpcf7-redirect
|
13 |
* Domain Path: /lang
|
14 |
*
|
15 |
+
* @package Redirection for Contact Form 7
|
16 |
* @category Contact Form 7 Addon
|
17 |
* @author Query Solutions
|
18 |
*/
|
31 |
public function __construct() {
|
32 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
33 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
34 |
+
$this->version = '1.3.3';
|
35 |
$this->add_actions();
|
36 |
}
|
37 |
|
317 |
<div class="wpcf7-redirect-pro-admin-notice updated notice is-dismissible">
|
318 |
<p>
|
319 |
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
320 |
+
Redirection for Contact Form 7 Pro - We've added exciting new features!
|
321 |
</a>
|
322 |
</p>
|
323 |
</div>
|
386 |
<span class="screen-reader-text"><?php _e( 'Close Banner', 'qstheme' );?>.</span>
|
387 |
</button>
|
388 |
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
389 |
+
<img src="<?php echo $this->plugin_url;?>/img/banner-pro.png" alt="<?php _e( 'Banner - Redirection for Contact Form 7 Pro', 'wpcf7-redirect' );?>">
|
390 |
</a>
|
391 |
</div>
|
392 |
|
481 |
<div class="get-pro-wrap">
|
482 |
<div class="get-pro">
|
483 |
<span class="dashicons dashicons-star-filled"></span>
|
484 |
+
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">Redirection for Contact Form 7 Pro - We've added exciting new features!</a>
|
485 |
<span class="dashicons dashicons-star-filled"></span>
|
486 |
</div>
|
487 |
</div>
|
493 |
register_activation_hook( __FILE__, array( 'WPCF7_Redirect', 'install' ) );
|
494 |
|
495 |
$cf7_redirect = new WPCF7_Redirect();
|
|