Version Description
Download this release
Release Info
Developer | Yuichiro ABE |
Plugin | Contact Form 7 add confirm |
Version | 4.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.1.1 to 4.1.2
- contact-form-7-confirm.php +2 -18
- includes/controller.php +6 -2
- readme.txt +8 -4
contact-form-7-confirm.php
CHANGED
@@ -7,7 +7,7 @@ Author: Yuichiro ABE
|
|
7 |
Author URI: http://www.eyeta.jp/
|
8 |
Text Domain: contact-form-7-confirm
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 4.1.
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
@@ -27,24 +27,8 @@ Version: 4.1.1
|
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
-
/*
|
31 |
|
32 |
-
1.
|
33 |
-
Contact Form 7 3.7 で構築
|
34 |
-
1.3.7.1
|
35 |
-
input type="file"の不具合を修正
|
36 |
-
1.3.8
|
37 |
-
編集に戻るときも頭出し
|
38 |
-
Contact Form 7 3.7.2で動作確認
|
39 |
-
1.3.8.1
|
40 |
-
checkboxでのバグの修正
|
41 |
-
「wpcf7c-anchor」クラスを指定しておくと確認、戻るなどの際の
|
42 |
-
頭出しの座標に利用されるようにしました。
|
43 |
-
1.3.8.3
|
44 |
-
戻って編集ボタンのデフォルトテキストが英語だった件を修正
|
45 |
-
以降、readme.txtに記述
|
46 |
-
*/
|
47 |
-
define( 'WPCF7C_VERSION', '4.1.1' );
|
48 |
|
49 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
50 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
7 |
Author URI: http://www.eyeta.jp/
|
8 |
Text Domain: contact-form-7-confirm
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.1.2
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
|
|
30 |
|
31 |
+
define( 'WPCF7C_VERSION', '4.1.2' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
34 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
includes/controller.php
CHANGED
@@ -191,10 +191,14 @@ function wpcf7c_captcha_validation_filter( $result, $tag ) {
|
|
191 |
|
192 |
$prefix = isset( $_POST[$captchac] ) ? (string) $_POST[$captchac] : '';
|
193 |
$response = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
|
|
194 |
|
195 |
if ( 0 == strlen( $prefix ) || ! wpcf7_check_captcha( $prefix, $response ) ) {
|
196 |
-
$
|
197 |
-
|
|
|
|
|
|
|
198 |
}
|
199 |
|
200 |
if(0 != strlen( $prefix ) && $_POST["_wpcf7c"] == "step1") {
|
191 |
|
192 |
$prefix = isset( $_POST[$captchac] ) ? (string) $_POST[$captchac] : '';
|
193 |
$response = isset( $_POST[$name] ) ? (string) $_POST[$name] : '';
|
194 |
+
$response = wpcf7_canonicalize( $response );
|
195 |
|
196 |
if ( 0 == strlen( $prefix ) || ! wpcf7_check_captcha( $prefix, $response ) ) {
|
197 |
+
$response = wpcf7_canonicalize( $response );
|
198 |
+
|
199 |
+
if ( 0 == strlen( $prefix ) || ! wpcf7_check_captcha( $prefix, $response ) ) {
|
200 |
+
$result->invalidate( $tag, wpcf7_get_message( 'captcha_not_match' ) );
|
201 |
+
}
|
202 |
}
|
203 |
|
204 |
if(0 != strlen( $prefix ) && $_POST["_wpcf7c"] == "step1") {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Yuichiro ABE
|
|
3 |
Donate link:
|
4 |
Tags: contact, form, contact form
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.1
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -104,7 +104,11 @@ An answer to that question.
|
|
104 |
4.1.1
|
105 |
メール送信エラーなどの際にエラーメッセージが出ない不具合を修正
|
106 |
|
|
|
|
|
|
|
107 |
== Upgrade notice ==
|
108 |
-
|
109 |
-
|
|
|
110 |
|
3 |
Donate link:
|
4 |
Tags: contact, form, contact form
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 4.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
104 |
4.1.1
|
105 |
メール送信エラーなどの際にエラーメッセージが出ない不具合を修正
|
106 |
|
107 |
+
4.1.2
|
108 |
+
CAPTCHA対応バグFIX
|
109 |
+
|
110 |
== Upgrade notice ==
|
111 |
+
|
112 |
+
4.1.2
|
113 |
+
CAPTCHA対応バグFIX
|
114 |
|