Contact Form 7 – reCaptcha v2 - Version 1.1.6

Version Description

(2019-04-02) = * Added localization to reCaptcha API box which translates related text. Thanks @aldebaran57!

Download this release

Release Info

Developer IQComputing
Plugin Icon 128x128 Contact Form 7 – reCaptcha v2
Version 1.1.6
Comparing to
See all releases

Code changes from version 1.1.5 to 1.1.6

Files changed (4) hide show
  1. changelog.txt +9 -0
  2. readme.txt +5 -8
  3. recaptcha-v2.php +3 -2
  4. wpcf7-recaptcha.php +2 -2
changelog.txt CHANGED
@@ -2,6 +2,14 @@
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.1.5 =
6
7
Release Date: February 25, 2019
@@ -9,6 +17,7 @@ Release Date: February 25, 2019
9
* Overview
10
* Added plugin to github and link to github on description page.
11
* Ran into issue committing v1.1.4 which caused json checksums to not reflect some changes made. Thank @willpresleyev for pointing this out!
12
13
= 1.1.4 =
14
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.1.6 =
6
+
7
+ Release Date: April 02, 2019
8
+
9
+ * Overview
10
+ * Forum user @aldebaran57 points out how to add localization to the reCaptcha API which was tested and integrated.
11
+ * https://wordpress.org/support/topic/force-language-of-widget-so-it-reacts-to-language-switcher-on-multi-lang-sites/
12
+
13
= 1.1.5 =
14
15
Release Date: February 25, 2019
17
* Overview
18
* Added plugin to github and link to github on description page.
19
* Ran into issue committing v1.1.4 which caused json checksums to not reflect some changes made. Thank @willpresleyev for pointing this out!
20
+ * https://wordpress.org/support/topic/plugin-checksum-json-needs-updated/
21
22
= 1.1.4 =
23
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: iqcomputing
3
Tags: contact-form-7, contact-form-7-recaptcha, recaptcha, spam
4
Requires at least: 4.9
5
Tested up to: 5.1
6
- Stable tag: 1.1.5
7
License: GPLv2 or later
8
License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
@@ -60,6 +60,9 @@ Should the above be correct, at this point it's time to open a support thread fo
60
61
== Changelog ==
62
63
= 1.1.5 (2019-02-25) =
64
65
* Added link to github in description
@@ -72,10 +75,4 @@ Should the above be correct, at this point it's time to open a support thread fo
72
* Removed languages folder to avoid confusion with glotpress.
73
* Multisite - Network Admins will notice a new menu item under plugins labelled "WPCF7 reCaptcha Settings"
74
* Multisite - Network Admins now have the ability to add default keys and settings for sites. Individual sites can overwrite these defaults should they choose to.
75
- * Multisite - Default Network settings do not override keys or settings if they are already set/saved on the individual site. These only apply if none are found on the individual site.
76
-
77
- = 1.1.3 (2019-02-06) =
78
- * An attempt to make translations easier and better overall.
79
- * Combined a few redundant translation functions into a single translation function.
80
- * Made wording and references more consistent.
81
- * Added a margin-bottom: 0 style to the reCaptcha iframe in an attempt to prevent CSS overlapping.
3
Tags: contact-form-7, contact-form-7-recaptcha, recaptcha, spam
4
Requires at least: 4.9
5
Tested up to: 5.1
6
+ Stable tag: 1.1.6
7
License: GPLv2 or later
8
License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
60
61
== Changelog ==
62
63
+ = 1.1.6 (2019-04-02) =
64
+ * Added localization to reCaptcha API box which translates related text. Thanks @aldebaran57!
65
+
66
= 1.1.5 (2019-02-25) =
67
68
* Added link to github in description
75
* Removed languages folder to avoid confusion with glotpress.
76
* Multisite - Network Admins will notice a new menu item under plugins labelled "WPCF7 reCaptcha Settings"
77
* Multisite - Network Admins now have the ability to add default keys and settings for sites. Individual sites can overwrite these defaults should they choose to.
78
+ * Multisite - Default Network settings do not override keys or settings if they are already set/saved on the individual site. These only apply if none are found on the individual site.
recaptcha-v2.php CHANGED
@@ -62,8 +62,9 @@ function iqfix_wpcf7_recaptcha_enqueue_scripts() {
62
63
$url = 'https://www.google.com/recaptcha/api.js';
64
$url = add_query_arg( array(
65
- 'onload' => 'recaptchaCallback',
66
- 'render' => 'explicit',
67
), $url );
68
69
wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
62
63
$url = 'https://www.google.com/recaptcha/api.js';
64
$url = add_query_arg( array(
65
+ 'hl' => esc_attr( get_locale() ), // Lowercase L
66
+ 'onload' => 'recaptchaCallback',
67
+ 'render' => 'explicit',
68
), $url );
69
70
wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
wpcf7-recaptcha.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Plugin Name: Contact Form 7 - reCaptcha v2
4
* Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
5
- * Version: 1.1.5
6
* Author: IQComputing
7
* Author URI: http://www.iqcomputing.com/
8
* License: GPL2
@@ -18,7 +18,7 @@ defined( 'ABSPATH' ) or die( 'You cannot be here.' );
18
*/
19
Class IQFix_WPCF7_Deity {
20
21
- public static $version = '1.1.5';
22
23
24
/**
2
/**
3
* Plugin Name: Contact Form 7 - reCaptcha v2
4
* Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
5
+ * Version: 1.1.6
6
* Author: IQComputing
7
* Author URI: http://www.iqcomputing.com/
8
* License: GPL2
18
*/
19
Class IQFix_WPCF7_Deity {
20
21
+ public static $version = '1.1.6';
22
23
24
/**