Version Description
- Fix: Preserve PHP 5.2 compatibility
Download this release
Release Info
Developer | podpirate |
Plugin | WordPress ReCaptcha Integration |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- inc/class-wp_recaptcha_options.php +17 -2
- readme.txt +12 -2
- wp-recaptcha-integration.php +1 -1
inc/class-wp_recaptcha_options.php
CHANGED
@@ -493,10 +493,10 @@ class WP_reCaptcha_Options {
|
|
493 |
// ),
|
494 |
// );
|
495 |
$grecaptcha_themes = WP_reCaptcha_NoCaptcha::instance()->get_supported_themes();
|
496 |
-
$grecaptcha_themes = array_map(
|
497 |
|
498 |
$recaptcha_themes = WP_reCaptcha_ReCaptcha::instance()->get_supported_themes();
|
499 |
-
$recaptcha_themes = array_map(
|
500 |
|
501 |
$themes = $grecaptcha_themes + $recaptcha_themes;
|
502 |
|
@@ -529,6 +529,21 @@ class WP_reCaptcha_Options {
|
|
529 |
?></div><?php
|
530 |
}
|
531 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
/**
|
533 |
* Check valid recaptcha theme, check if theme fits to flavor
|
534 |
*/
|
493 |
// ),
|
494 |
// );
|
495 |
$grecaptcha_themes = WP_reCaptcha_NoCaptcha::instance()->get_supported_themes();
|
496 |
+
$grecaptcha_themes = array_map( array( $this , '_map_grecaptcha' ) , $grecaptcha_themes );
|
497 |
|
498 |
$recaptcha_themes = WP_reCaptcha_ReCaptcha::instance()->get_supported_themes();
|
499 |
+
$recaptcha_themes = array_map( array( $this , '_map_recaptcha' ) , $recaptcha_themes );
|
500 |
|
501 |
$themes = $grecaptcha_themes + $recaptcha_themes;
|
502 |
|
529 |
?></div><?php
|
530 |
}
|
531 |
|
532 |
+
/**
|
533 |
+
* @usage select_theme()
|
534 |
+
*/
|
535 |
+
private function _map_grecaptcha( $val ) {
|
536 |
+
$val['flavor'] = 'grecaptcha';
|
537 |
+
return $val;
|
538 |
+
}
|
539 |
+
/**
|
540 |
+
* @usage select_theme()
|
541 |
+
*/
|
542 |
+
private function _map_recaptcha( $val ) {
|
543 |
+
$val['flavor'] = 'recaptcha';
|
544 |
+
return $val;
|
545 |
+
}
|
546 |
+
|
547 |
/**
|
548 |
* Check valid recaptcha theme, check if theme fits to flavor
|
549 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: security, captcha, recaptcha, no captcha, login, signup, contact form 7, ninja forms
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -59,6 +59,9 @@ if necessary.
|
|
59 |
overcome this restriction I requested a little change in the official WC repository, so there
|
60 |
is hope for a future version. See: (https://github.com/woothemes/woocommerce/pull/7029)
|
61 |
|
|
|
|
|
|
|
62 |
== Installation ==
|
63 |
|
64 |
First follow the standard [WordPress plugin installation procedere](http://codex.wordpress.org/Managing_Plugins).
|
@@ -67,6 +70,11 @@ Then go to the [Google Recaptcha Site](http://www.google.com/recaptcha), sign up
|
|
67 |
|
68 |
== Frequently asked questions ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
70 |
= The captcha does not show up. What’s wrong? =
|
71 |
|
72 |
On the plugin settings page check out if the option “Disable for known users” is activated (it is by default).
|
@@ -136,7 +144,6 @@ or removed some strings in the meantime.
|
|
136 |
As soon as there is a [public centralized repository for WordPress plugin translations](https://translate.wordpress.org/projects/wp-plugins)
|
137 |
I will migrate all the translation stuff there.
|
138 |
|
139 |
-
|
140 |
== Screenshots ==
|
141 |
|
142 |
1. Plugin Settings
|
@@ -145,6 +152,9 @@ I will migrate all the translation stuff there.
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
148 |
= 1.0.8 =
|
149 |
- Feature: Individually set captcha theme in CF7 and Ninja forms (NoCaptcha only, old recaptcha not supported)
|
150 |
- Fix: PHP Warning in settings.
|
4 |
Tags: security, captcha, recaptcha, no captcha, login, signup, contact form 7, ninja forms
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.0.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
59 |
overcome this restriction I requested a little change in the official WC repository, so there
|
60 |
is hope for a future version. See: (https://github.com/woothemes/woocommerce/pull/7029)
|
61 |
|
62 |
+
- There is no (and as far as one can see, there will never be) support for the **MailPoet**
|
63 |
+
subscription form.
|
64 |
+
|
65 |
== Installation ==
|
66 |
|
67 |
First follow the standard [WordPress plugin installation procedere](http://codex.wordpress.org/Managing_Plugins).
|
70 |
|
71 |
== Frequently asked questions ==
|
72 |
|
73 |
+
= Will you support plugin XYZ? =
|
74 |
+
|
75 |
+
If XYZ stands for a widely used free and OpenSource plugin in active development with some
|
76 |
+
100k+ downloads I will give it a try. Just ask.
|
77 |
+
|
78 |
= The captcha does not show up. What’s wrong? =
|
79 |
|
80 |
On the plugin settings page check out if the option “Disable for known users” is activated (it is by default).
|
144 |
As soon as there is a [public centralized repository for WordPress plugin translations](https://translate.wordpress.org/projects/wp-plugins)
|
145 |
I will migrate all the translation stuff there.
|
146 |
|
|
|
147 |
== Screenshots ==
|
148 |
|
149 |
1. Plugin Settings
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 1.0.9 =
|
156 |
+
- Fix: Preserve PHP 5.2 compatibility
|
157 |
+
|
158 |
= 1.0.8 =
|
159 |
- Feature: Individually set captcha theme in CF7 and Ninja forms (NoCaptcha only, old recaptcha not supported)
|
160 |
- Fix: PHP Warning in settings.
|
wp-recaptcha-integration.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP reCaptcha Integration
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-recaptcha-integration/
|
5 |
Description: Integrate reCaptcha in your blog. Supports no Captcha (new style recaptcha) as well as the old style reCaptcha. Provides of the box integration for signup, login, comment forms, lost password, Ninja Forms and contact form 7.
|
6 |
-
Version: 1.0.
|
7 |
Author: Jörn Lund
|
8 |
Author URI: https://github.com/mcguffin/
|
9 |
*/
|
3 |
Plugin Name: WP reCaptcha Integration
|
4 |
Plugin URI: https://wordpress.org/plugins/wp-recaptcha-integration/
|
5 |
Description: Integrate reCaptcha in your blog. Supports no Captcha (new style recaptcha) as well as the old style reCaptcha. Provides of the box integration for signup, login, comment forms, lost password, Ninja Forms and contact form 7.
|
6 |
+
Version: 1.0.9
|
7 |
Author: Jörn Lund
|
8 |
Author URI: https://github.com/mcguffin/
|
9 |
*/
|