Version Description
(2020-02-25) = * Updated the remove action hook priority for wpcf7_recaptcha_enqueue_scripts from 10 to 20
Download this release
Release Info
Developer | IQComputing |
Plugin | Contact Form 7 – reCaptcha v2 |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- changelog.txt +10 -0
- readme.txt +7 -9
- recaptcha-v2.php +1 -1
- wpcf7-recaptcha.php +2 -2
changelog.txt
CHANGED
@@ -2,6 +2,16 @@
|
|
2 |
|
3 |
This is to keep track of all changes the plugin undertakes. The readme.txt should only contain the most recent 3.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
= 1.3.0 =
|
6 |
|
7 |
Release Date: December 21, 2020
|
2 |
|
3 |
This is to keep track of all changes the plugin undertakes. The readme.txt should only contain the most recent 3.
|
4 |
|
5 |
+
= 1.3.1 =
|
6 |
+
|
7 |
+
Release Date: February 25, 2021
|
8 |
+
|
9 |
+
* Overview
|
10 |
+
* Match Conatct Form 7 update changes.
|
11 |
+
|
12 |
+
* Code Changes
|
13 |
+
* Updated the remove action hook priority for wpcf7_recaptcha_enqueue_scripts from 10 to 20
|
14 |
+
|
15 |
= 1.3.0 =
|
16 |
|
17 |
Release Date: December 21, 2020
|
readme.txt
CHANGED
@@ -60,14 +60,12 @@ Should the above be correct, at this point it's time to open a support thread fo
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
-
= 1.
|
64 |
-
* Updated
|
65 |
|
66 |
-
= 1.
|
67 |
-
*
|
68 |
-
*
|
69 |
-
* Moved inline script to enqueued script ( Props @m3h1nd3r ).
|
70 |
-
* Removed instance of "whitelist".
|
71 |
|
72 |
-
= 1.2.
|
73 |
-
*
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= 1.3.1 (2020-02-25) =
|
64 |
+
* Updated the remove action hook priority for wpcf7_recaptcha_enqueue_scripts from 10 to 20
|
65 |
|
66 |
+
= 1.3.0 (2020-12-21) =
|
67 |
+
* Removed `iqfix_wpcf7_recaptcha_callback_script()` function
|
68 |
+
* Enqueued reCaptcha controls based on whether google reCaptcha is enqueued.
|
|
|
|
|
69 |
|
70 |
+
= 1.2.9 (2020-08-26) =
|
71 |
+
* Updated external scripts enqueue method based on user feedback.
|
recaptcha-v2.php
CHANGED
@@ -20,7 +20,7 @@ function iqfix_wpcf7_manage_hooks() {
|
|
20 |
add_filter( 'wpcf7_spam', 'iqfix_wpcf7_recaptcha_check_with_google', 9 );
|
21 |
|
22 |
// reCaptcha Enqueues
|
23 |
-
remove_action( 'wp_enqueue_scripts', 'wpcf7_recaptcha_enqueue_scripts',
|
24 |
add_action( 'wp_enqueue_scripts', 'iqfix_wpcf7_recaptcha_enqueue_scripts', 9 );
|
25 |
|
26 |
// reCaptcha Footer Javascript
|
20 |
add_filter( 'wpcf7_spam', 'iqfix_wpcf7_recaptcha_check_with_google', 9 );
|
21 |
|
22 |
// reCaptcha Enqueues
|
23 |
+
remove_action( 'wp_enqueue_scripts', 'wpcf7_recaptcha_enqueue_scripts', 20 );
|
24 |
add_action( 'wp_enqueue_scripts', 'iqfix_wpcf7_recaptcha_enqueue_scripts', 9 );
|
25 |
|
26 |
// reCaptcha Footer Javascript
|
wpcf7-recaptcha.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: ReCaptcha v2 for Contact Form 7
|
4 |
* Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
|
5 |
-
* Version: 1.3.
|
6 |
* Author: IQComputing
|
7 |
* Author URI: http://www.iqcomputing.com/
|
8 |
* License: GPL2
|
@@ -24,7 +24,7 @@ Class IQFix_WPCF7_Deity {
|
|
24 |
*
|
25 |
* @var String
|
26 |
*/
|
27 |
-
public static $version = '1.3.
|
28 |
|
29 |
|
30 |
/**
|
2 |
/**
|
3 |
* Plugin Name: ReCaptcha v2 for Contact Form 7
|
4 |
* Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
|
5 |
+
* Version: 1.3.1
|
6 |
* Author: IQComputing
|
7 |
* Author URI: http://www.iqcomputing.com/
|
8 |
* License: GPL2
|
24 |
*
|
25 |
* @var String
|
26 |
*/
|
27 |
+
public static $version = '1.3.1';
|
28 |
|
29 |
|
30 |
/**
|