Version Description
Download this release
Release Info
Developer | Yuichiro ABE |
Plugin | Contact Form 7 add confirm |
Version | 1.3.8.12 |
Comparing to | |
See all releases |
Code changes from version 1.3.8.11 to 1.3.8.12
- contact-form-7-confirm.php +2 -2
- includes/controller.php +21 -0
- readme.txt +7 -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: 1.3.8.
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
@@ -44,7 +44,7 @@ Version: 1.3.8.11
|
|
44 |
戻って編集ボタンのデフォルトテキストが英語だった件を修正
|
45 |
以降、readme.txtに記述
|
46 |
*/
|
47 |
-
define( 'WPCF7C_VERSION', '1.3.8.
|
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: 1.3.8.12
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
44 |
戻って編集ボタンのデフォルトテキストが英語だった件を修正
|
45 |
以降、readme.txtに記述
|
46 |
*/
|
47 |
+
define( 'WPCF7C_VERSION', '1.3.8.12' );
|
48 |
|
49 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
50 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
includes/controller.php
CHANGED
@@ -31,6 +31,27 @@ function wpcf7c_ajax_json_echo() {
|
|
31 |
// flamingo対策
|
32 |
remove_action( 'wpcf7_submit', 'wpcf7_flamingo_submit');
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
break;
|
36 |
case "step2":
|
31 |
// flamingo対策
|
32 |
remove_action( 'wpcf7_submit', 'wpcf7_flamingo_submit');
|
33 |
|
34 |
+
// Contact Form DB対策
|
35 |
+
//remove_action( 'wpcf7_before_send_mail', 'wpcf7_flamingo_submit');
|
36 |
+
global $wp_filter, $merged_filters;
|
37 |
+
if($wp_filter["wpcf7_before_send_mail"]) {
|
38 |
+
foreach($wp_filter["wpcf7_before_send_mail"] as $priority => $actions) {
|
39 |
+
foreach($actions as $key => $action) {
|
40 |
+
if(is_array($action["function"])) {
|
41 |
+
if(is_object($action["function"][0])) {
|
42 |
+
if(get_class($action["function"][0]) == "CF7DBPlugin") {
|
43 |
+
if($action["function"][1] == "saveFormData") {
|
44 |
+
unset($wp_filter["wpcf7_before_send_mail"][$priority][$key]);
|
45 |
+
if ( empty($wp_filter["wpcf7_before_send_mail"][$priority]) )
|
46 |
+
unset($wp_filter["wpcf7_before_send_mail"][$priority]);
|
47 |
+
unset($merged_filters["wpcf7_before_send_mail"]);
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
55 |
|
56 |
break;
|
57 |
case "step2":
|
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: 3.9
|
7 |
-
Stable tag: 1.3.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -61,6 +61,9 @@ An answer to that question.
|
|
61 |
1.3.8.11
|
62 |
flamingoプラグインで確認ボタンクリック時も記録されてしまう問題を修正
|
63 |
|
|
|
|
|
|
|
64 |
== Upgrade notice ==
|
65 |
-
1.3.8.
|
66 |
-
|
3 |
Donate link:
|
4 |
Tags: contact, form, contact form
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.3.8.12
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
61 |
1.3.8.11
|
62 |
flamingoプラグインで確認ボタンクリック時も記録されてしまう問題を修正
|
63 |
|
64 |
+
1.3.8.12
|
65 |
+
Contact Form DBプラグインで確認ボタンクリック時に記録されてしまう問題を修正
|
66 |
+
|
67 |
== Upgrade notice ==
|
68 |
+
1.3.8.12
|
69 |
+
Contact Form DBプラグインで確認ボタンクリック時に記録されてしまう問題を修正
|