Simple Google reCAPTCHA - Version 2.4

Version Description

  • New: reCaptcha verification added on every page that allows comments (not bothering registered users)
Download this release

Release Info

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

Code changes from version 2.3 to 2.4

Files changed (2) hide show
  1. readme.txt +5 -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.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate link: https://www.paypal.me/NovaMi
@@ -11,7 +11,7 @@ Donate link: https://www.paypal.me/NovaMi
11
  Simply protect your WordPress against spam comments and brute-force attacks, thanks to reCAPTCHA!
12
 
13
  == Description ==
14
- Simple Google reCAPTCHA will protect your WordPress! No more spam comments and brute-force attacks against user accounts. Really lightweight plugin - just few KBs to download!
15
 
16
  = What is protected with reCAPTCHA? =
17
  * Comment form
@@ -50,6 +50,9 @@ Just use standard Plugin overview page in WordPress admin section and deactivate
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
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.4
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate link: https://www.paypal.me/NovaMi
11
  Simply protect your WordPress against spam comments and brute-force attacks, thanks to reCAPTCHA!
12
 
13
  == Description ==
14
+ Simple Google reCAPTCHA will protect your WordPress! No more spam comments and brute-force attacks against user accounts. Lightweight plugin - just few KBs to download and no ads!
15
 
16
  = What is protected with reCAPTCHA? =
17
  * Comment form
50
  5. Simple Google reCAPTCHA - Settings
51
 
52
  == Changelog ==
53
+ = 2.4 =
54
+ * New: reCaptcha verification added on every page that allows comments (not bothering registered users)
55
+
56
  = 2.3 =
57
  * New: Added donate link, you can buy me a coffee now :-)
58
  * Bugfix: Plugin warnings on php7 - not quoted functions name
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.3
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.4
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_singular() && 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");