Simple Google reCAPTCHA - Version 2.3

Version Description

  • New: Added donate link, you can buy me a coffee now :-)
  • Bugfix: Plugin warnings on php7 - not quoted functions name
Download this release

Release Info

Developer Minor
Plugin Icon 128x128 Simple Google reCAPTCHA
Version 2.3
Comparing to
See all releases

Code changes from version 2.2 to 2.3

Files changed (2) hide show
  1. readme.txt +6 -2
  2. simple-google-recaptcha.php +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Minor
3
  Tags: recaptcha, spam, block, captcha, bots, brute, force, protect, comments, secure, attack, registration, reset, form, buddypress, woocommerce
4
  Requires at least: 4.2.0
5
  Tested up to: 4.8
6
- Stable tag: 2.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate link: https://www.paypal.me/NovaMi
@@ -25,7 +25,7 @@ reCaptcha verification will be required just for not registered users!
25
 
26
  --
27
  Thanks all of you, who are using this plugin I really appreciate it! WordPress is amazing open-source software which I'm using for free (for business too) so this plugin is my way how to say thank you!
28
- If you write to me (on support center etc.) and expect an answer, be patient, please. I'm working on this plugin only in my free time, it's my hobby.
29
 
30
 
31
  == Installation ==
@@ -50,6 +50,10 @@ Just use standard Plugin overview page in WordPress admin section and deactivate
50
  5. Simple Google reCAPTCHA - Settings
51
 
52
  == Changelog ==
 
 
 
 
53
  = 2.2 =
54
  * Warning: Possibility to decide when reCAPTCHA will be shown was removed (not bothering registered users)
55
  * New: Including BuddyPress and WooCommerce support
3
  Tags: recaptcha, spam, block, captcha, bots, brute, force, protect, comments, secure, attack, registration, reset, form, buddypress, woocommerce
4
  Requires at least: 4.2.0
5
  Tested up to: 4.8
6
+ Stable tag: 2.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate link: https://www.paypal.me/NovaMi
25
 
26
  --
27
  Thanks all of you, who are using this plugin I really appreciate it! WordPress is amazing open-source software which I'm using for free (for business too) so this plugin is my way how to say thank you!
28
+ If you write to me (on support center etc.) and expect an answer, be patient, please. I'm working on this plugin in my free time, it's my hobby.
29
 
30
 
31
  == Installation ==
50
  5. Simple Google reCAPTCHA - Settings
51
 
52
  == Changelog ==
53
+ = 2.3 =
54
+ * New: Added donate link, you can buy me a coffee now :-)
55
+ * Bugfix: Plugin warnings on php7 - not quoted functions name
56
+
57
  = 2.2 =
58
  * Warning: Possibility to decide when reCAPTCHA will be shown was removed (not bothering registered users)
59
  * New: Including BuddyPress and WooCommerce support
simple-google-recaptcha.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: Simple Google reCAPTCHA
4
  * Description: Simply protect your WordPress against spam comments and brute-force attacks, thanks to Google reCAPTCHA!
5
- * Version: 2.2
6
  * Author: Michal Novák
7
  * Author URI: https://www.novami.cz
8
  * License: GPL3
@@ -60,7 +60,7 @@ function load_language_sgr() {
60
  add_action("plugins_loaded", "load_language_sgr");
61
 
62
  function frontend_sgr_script() {
63
- if (did_action("login_init") > 0 || function_exists(is_account_page) || function_exists(bp_get_signup_page) || (is_single() && comments_open()) && !is_user_logged_in()) {
64
  wp_register_script("sgr_recaptcha", "https://www.google.com/recaptcha/api.js?hl=".get_locale());
65
  wp_enqueue_script("sgr_recaptcha");
66
  wp_register_script("sgr_recaptcha_check", plugin_dir_url(__FILE__)."check.js");
2
  /*
3
  * Plugin Name: Simple Google reCAPTCHA
4
  * Description: Simply protect your WordPress against spam comments and brute-force attacks, thanks to Google reCAPTCHA!
5
+ * Version: 2.3
6
  * Author: Michal Novák
7
  * Author URI: https://www.novami.cz
8
  * License: GPL3
60
  add_action("plugins_loaded", "load_language_sgr");
61
 
62
  function frontend_sgr_script() {
63
+ if (did_action("login_init") > 0 || function_exists('is_account_page') || function_exists('bp_get_signup_page') || (is_single() && comments_open()) && !is_user_logged_in()) {
64
  wp_register_script("sgr_recaptcha", "https://www.google.com/recaptcha/api.js?hl=".get_locale());
65
  wp_enqueue_script("sgr_recaptcha");
66
  wp_register_script("sgr_recaptcha_check", plugin_dir_url(__FILE__)."check.js");