Contact Form 7 Captcha - Version 0.1.2

Version Description

Download this release

Release Info

Developer 247wd
Plugin Icon wp plugin Contact Form 7 Captcha
Version 0.1.2
Comparing to
See all releases

Code changes from version 0.1.1 to 0.1.2

contact-form-7-simple-recaptcha.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Contact Form 7 Captcha
4
  Description: Add No CAPTCHA reCAPTCHA to Contact Form 7 using [cf7sr-simple-recaptcha] shortcode
5
- Version: 0.1.1
6
  Author: 247wd
7
  */
8
 
@@ -147,7 +147,7 @@ if (is_admin()) {
147
  </h2>
148
  This plugin implements "I'm not a robot" checkbox.<br><br>
149
  To add Recaptcha to CF7 form, add <strong>[cf7sr-simple-recaptcha]</strong> in your form ( preferable above submit button )<br>
150
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="POST">
151
  <input type="hidden" value="1" name="update">
152
  <?php wp_nonce_field( 'cf7sr_update_settings', 'cf7sr_nonce' ); ?>
153
  <ul>
2
  /*
3
  Plugin Name: Contact Form 7 Captcha
4
  Description: Add No CAPTCHA reCAPTCHA to Contact Form 7 using [cf7sr-simple-recaptcha] shortcode
5
+ Version: 0.1.2
6
  Author: 247wd
7
  */
8
 
147
  </h2>
148
  This plugin implements "I'm not a robot" checkbox.<br><br>
149
  To add Recaptcha to CF7 form, add <strong>[cf7sr-simple-recaptcha]</strong> in your form ( preferable above submit button )<br>
150
+ <form action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?>" method="POST">
151
  <input type="hidden" value="1" name="update">
152
  <?php wp_nonce_field( 'cf7sr_update_settings', 'cf7sr_nonce' ); ?>
153
  <ul>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/cf7captcha
4
  Tags: captcha, recaptcha, new recaptcha, contact form 7, no captcha
5
  Requires at least: 4.1.2
6
  Tested up to: 6.0
7
- Stable tag: 0.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -20,7 +20,8 @@ Can be used to protect multiple forms on same page.<br>
20
  Tested with Contact Form 7 version 5.6 and WordPress version 6.0<br>
21
  Configure plugin from Settings => CF7 Simple Recaptcha.<br>
22
  After configuration, add [cf7sr-simple-recaptcha] to any Contact Form 7 form.<br>
23
- Added CSRF check and escaped attributes in Settings page.
 
24
 
25
  == Installation ==
26
 
4
  Tags: captcha, recaptcha, new recaptcha, contact form 7, no captcha
5
  Requires at least: 4.1.2
6
  Tested up to: 6.0
7
+ Stable tag: 0.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
20
  Tested with Contact Form 7 version 5.6 and WordPress version 6.0<br>
21
  Configure plugin from Settings => CF7 Simple Recaptcha.<br>
22
  After configuration, add [cf7sr-simple-recaptcha] to any Contact Form 7 form.<br>
23
+ Added CSRF check and escaped attributes in Settings page.
24
+ Fixed potential Cross-Site Scripting in old web browsers.
25
 
26
  == Installation ==
27