Version Description
(2019-09-17) = * Fixed translation function to include plugin slug. Thanks @alexclassroom !
Download this release
Release Info
Developer | IQComputing |
Plugin | Contact Form 7 – reCaptcha v2 |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- changelog.txt +7 -0
- flamingo.php +1 -1
- readme.txt +5 -7
- recaptcha-v2.php +1 -1
- wpcf7-recaptcha.php +6 -6
changelog.txt
CHANGED
@@ -2,6 +2,13 @@
|
|
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.2.1 =
|
6 |
|
7 |
Release Date: September 09, 2019
|
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.2.2 =
|
6 |
+
|
7 |
+
Release Date: September 17, 2019
|
8 |
+
|
9 |
+
* Overview
|
10 |
+
* Updated some translation function to include the plugin slug which should help translations. Thanks @alexclassroom !
|
11 |
+
|
12 |
= 1.2.1 =
|
13 |
|
14 |
Release Date: September 09, 2019
|
flamingo.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
defined( 'ABSPATH' ) or die(
|
12 |
|
13 |
|
14 |
Class IQFix_Flamingo {
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
defined( 'ABSPATH' ) or die( 'Hey, you\'re not a flamingo! Goodbye.' );
|
12 |
|
13 |
|
14 |
Class IQFix_Flamingo {
|
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.2
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -60,15 +60,13 @@ Should the above be correct, at this point it's time to open a support thread fo
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
63 |
= 1.2.1 (2019-09-09) =
|
64 |
* Updated the plugin name to fix Trademark infringement.
|
65 |
|
66 |
= 1.2.0 (2019-06-13) =
|
67 |
* Removed jQuery dependecy.
|
68 |
* Converted jQuery reCaptcha submission check to vanilla JavaScript.
|
69 |
-
* Updated reCaptcha noscript to account for A3 Lazy Load Plugin.
|
70 |
-
|
71 |
-
= 1.1.9 (2019-05-14) =
|
72 |
-
* Added selectable option to choose which website to pull reCaptcha resources from (google.com | recaptcha.net) Thanks @scits!
|
73 |
-
* Added and modified some class methods. See extended changelog for further details.
|
74 |
-
* Modified noscript reCaptcha to look and function better "default". Styling left to theme authors and developers.
|
3 |
Tags: contact-form-7, contact-form-7-recaptcha, recaptcha, spam
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 1.2.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= 1.2.2 (2019-09-17) =
|
64 |
+
* Fixed translation function to include plugin slug. Thanks @alexclassroom !
|
65 |
+
|
66 |
= 1.2.1 (2019-09-09) =
|
67 |
* Updated the plugin name to fix Trademark infringement.
|
68 |
|
69 |
= 1.2.0 (2019-06-13) =
|
70 |
* Removed jQuery dependecy.
|
71 |
* Converted jQuery reCaptcha submission check to vanilla JavaScript.
|
72 |
+
* Updated reCaptcha noscript to account for A3 Lazy Load Plugin.
|
|
|
|
|
|
|
|
|
|
recaptcha-v2.php
CHANGED
@@ -245,7 +245,7 @@ function iqfix_wpcf7_recaptcha_noscript( $args = '' ) {
|
|
245 |
<div class="grecaptcha-noscript">
|
246 |
<iframe src="<?php echo esc_url( $url ); ?>" frameborder="0" scrolling="no" width="310" height="430">
|
247 |
</iframe>
|
248 |
-
<textarea name="g-recaptcha-response" rows="3" cols="40" placeholder="<?php esc_attr_e( 'reCaptcha Response Here' ); ?>">
|
249 |
</textarea>
|
250 |
</div>
|
251 |
</noscript>
|
245 |
<div class="grecaptcha-noscript">
|
246 |
<iframe src="<?php echo esc_url( $url ); ?>" frameborder="0" scrolling="no" width="310" height="430">
|
247 |
</iframe>
|
248 |
+
<textarea name="g-recaptcha-response" rows="3" cols="40" placeholder="<?php esc_attr_e( 'reCaptcha Response Here', 'wpcf7-recaptcha' ); ?>">
|
249 |
</textarea>
|
250 |
</div>
|
251 |
</noscript>
|
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.2.
|
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.2.
|
22 |
|
23 |
|
24 |
/**
|
@@ -258,15 +258,15 @@ Class IQFix_WPCF7_Deity {
|
|
258 |
<form method="post">
|
259 |
<?php wp_nonce_field( 'iqfix_wpcf7_vers_select', 'iqfix_wpcf7_nonce' ); ?>
|
260 |
|
261 |
-
<label for="iqfix_recaptcha_version"><strong><?php esc_html_e( 'Select reCaptcha Usage' ); ?>:</strong></label><br />
|
262 |
<select id="iqfix_recaptcha_version" name="iqfix_recaptcha_version">
|
263 |
<option value="0"><?php esc_html_e( 'Default Usage', 'wpcf7-recaptcha' ); ?></option>
|
264 |
<option value="2" <?php selected( $selection, 2, true ); ?>><?php esc_html_e( 'reCaptcha Version 2', 'wpcf7-recaptcha' ); ?></option>
|
265 |
</select>
|
266 |
|
267 |
-
<?php printf( '<p>%s</p>', esc_html__( 'If you\'re not sure if your country blocks Google then you may leave this as default. Otherwise, if your country blocks google.com requests then please select the suggested recaptcha.net alternative below.' ) ); ?>
|
268 |
|
269 |
-
<label for="iqfix_recaptcha_source"><strong><?php esc_html_e( 'Select reCaptcha Source' ); ?>:</strong></label><br />
|
270 |
<select id="iqfix_recaptcha_source" name="iqfix_recaptcha_source">
|
271 |
<option value="google.com">google.com</option>
|
272 |
<option value="recaptcha.net" <?php selected( $source, 'recaptcha.net', true ); ?>>recaptcha.net</option>
|
@@ -275,7 +275,7 @@ Class IQFix_WPCF7_Deity {
|
|
275 |
<?php if( is_network_admin() ) : ?>
|
276 |
|
277 |
<hr />
|
278 |
-
<h2><?php esc_html__( 'Network Wide Settings' ); ?></h2>
|
279 |
|
280 |
<p><strong><?php _e( 'Please read all of the below before committing to these changes.', 'wpcf7-recaptcha' ); ?></strong></p>
|
281 |
<p><?php _e( 'You may set Network wide API keys below. Please ensure that every network site is whitelisted in the Google API Console. ReCaptcha keys can still be set ( or unset ) on a per site basis if necessary.', 'wpcf7-recaptcha' ); ?></p>
|
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.2.2
|
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.2.2';
|
22 |
|
23 |
|
24 |
/**
|
258 |
<form method="post">
|
259 |
<?php wp_nonce_field( 'iqfix_wpcf7_vers_select', 'iqfix_wpcf7_nonce' ); ?>
|
260 |
|
261 |
+
<label for="iqfix_recaptcha_version"><strong><?php esc_html_e( 'Select reCaptcha Usage', 'wpcf7-recaptcha' ); ?>:</strong></label><br />
|
262 |
<select id="iqfix_recaptcha_version" name="iqfix_recaptcha_version">
|
263 |
<option value="0"><?php esc_html_e( 'Default Usage', 'wpcf7-recaptcha' ); ?></option>
|
264 |
<option value="2" <?php selected( $selection, 2, true ); ?>><?php esc_html_e( 'reCaptcha Version 2', 'wpcf7-recaptcha' ); ?></option>
|
265 |
</select>
|
266 |
|
267 |
+
<?php printf( '<p>%s</p>', esc_html__( 'If you\'re not sure if your country blocks Google then you may leave this as default. Otherwise, if your country blocks google.com requests then please select the suggested recaptcha.net alternative below.', 'wpcf7-recaptcha' ) ); ?>
|
268 |
|
269 |
+
<label for="iqfix_recaptcha_source"><strong><?php esc_html_e( 'Select reCaptcha Source', 'wpcf7-recaptcha' ); ?>:</strong></label><br />
|
270 |
<select id="iqfix_recaptcha_source" name="iqfix_recaptcha_source">
|
271 |
<option value="google.com">google.com</option>
|
272 |
<option value="recaptcha.net" <?php selected( $source, 'recaptcha.net', true ); ?>>recaptcha.net</option>
|
275 |
<?php if( is_network_admin() ) : ?>
|
276 |
|
277 |
<hr />
|
278 |
+
<h2><?php esc_html__( 'Network Wide Settings', 'wpcf7-recaptcha' ); ?></h2>
|
279 |
|
280 |
<p><strong><?php _e( 'Please read all of the below before committing to these changes.', 'wpcf7-recaptcha' ); ?></strong></p>
|
281 |
<p><?php _e( 'You may set Network wide API keys below. Please ensure that every network site is whitelisted in the Google API Console. ReCaptcha keys can still be set ( or unset ) on a per site basis if necessary.', 'wpcf7-recaptcha' ); ?></p>
|