Really Simple CAPTCHA - Version 1.7

Version Description

  • The required WordPress version changed to 3.5 and higher.
  • Remove spaces from response automatically as some users misthink there are spaces between letters.
Download this release

Release Info

Developer takayukister
Plugin Icon 128x128 Really Simple CAPTCHA
Version 1.7
Comparing to
See all releases

Code changes from version 1.6 to 1.7

Files changed (2) hide show
  1. readme.txt +10 -3
  2. really-simple-captcha.php +3 -2
readme.txt CHANGED
@@ -2,9 +2,11 @@
2
  Contributors: takayukister
3
  Donate link: http://contactform7.com/donate/
4
  Tags: captcha
5
- Requires at least: 3.2
6
- Tested up to: 3.5.1
7
- Stable tag: 1.6
 
 
8
 
9
  Really Simple CAPTCHA is a CAPTCHA module intended to be called from other plugins. It is originally created for my Contact Form 7 plugin.
10
 
@@ -89,6 +91,11 @@ If you have any further questions, please submit them [to the support forum](htt
89
 
90
  == Changelog ==
91
 
 
 
 
 
 
92
  = 1.6 =
93
 
94
  * Bundled font changed to Gentium Basic 1.1.
2
  Contributors: takayukister
3
  Donate link: http://contactform7.com/donate/
4
  Tags: captcha
5
+ Requires at least: 3.5
6
+ Tested up to: 3.6
7
+ Stable tag: 1.7
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Really Simple CAPTCHA is a CAPTCHA module intended to be called from other plugins. It is originally created for my Contact Form 7 plugin.
12
 
91
 
92
  == Changelog ==
93
 
94
+ = 1.7 =
95
+
96
+ * The required WordPress version changed to 3.5 and higher.
97
+ * Remove spaces from response automatically as some users misthink there are spaces between letters.
98
+
99
  = 1.6 =
100
 
101
  * Bundled font changed to Gentium Basic 1.1.
really-simple-captcha.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Really Simple CAPTCHA
4
  Plugin URI: http://contactform7.com/captcha/
5
  Description: Really Simple CAPTCHA is a CAPTCHA module intended to be called from other plugins. It is originally created for my Contact Form 7 plugin.
6
  Author: Takayuki Miyoshi
7
- Version: 1.6
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
@@ -25,7 +25,7 @@ Author URI: http://ideasilo.wordpress.com/
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
- define( 'REALLYSIMPLECAPTCHA_VERSION', '1.6' );
29
 
30
  class ReallySimpleCaptcha {
31
 
@@ -184,6 +184,7 @@ class ReallySimpleCaptcha {
184
  * @return bool Return true if the two match, otherwise return false.
185
  */
186
  function check( $prefix, $response ) {
 
187
  $response = strtoupper( $response );
188
 
189
  $dir = trailingslashit( $this->tmp_dir );
4
  Plugin URI: http://contactform7.com/captcha/
5
  Description: Really Simple CAPTCHA is a CAPTCHA module intended to be called from other plugins. It is originally created for my Contact Form 7 plugin.
6
  Author: Takayuki Miyoshi
7
+ Version: 1.7
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
+ define( 'REALLYSIMPLECAPTCHA_VERSION', '1.7' );
29
 
30
  class ReallySimpleCaptcha {
31
 
184
  * @return bool Return true if the two match, otherwise return false.
185
  */
186
  function check( $prefix, $response ) {
187
+ $response = str_replace( array( " ", "\t" ), '', $response );
188
  $response = strtoupper( $response );
189
 
190
  $dir = trailingslashit( $this->tmp_dir );