Version Description
Download this release
Release Info
Developer | Yuichiro ABE |
Plugin | Contact Form 7 add confirm |
Version | 1.3.8.13 |
Comparing to | |
See all releases |
Code changes from version 1.3.8.12 to 1.3.8.13
- contact-form-7-confirm.php +2 -2
- includes/controller.php +11 -0
- readme.txt +5 -3
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.12
|
|
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.13
|
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.13' );
|
48 |
|
49 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
50 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
includes/controller.php
CHANGED
@@ -79,6 +79,17 @@ function wpcf7c_ajax_json_echo_step1($items, $result) {
|
|
79 |
} else {
|
80 |
$items["onSubmit"][] = "wpcf7c_step1('" . $_POST['_wpcf7_unit_tag'] . "');";
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
$items["message"] = "";
|
83 |
$items["mailSent"] = false;
|
84 |
|
79 |
} else {
|
80 |
$items["onSubmit"][] = "wpcf7c_step1('" . $_POST['_wpcf7_unit_tag'] . "');";
|
81 |
}
|
82 |
+
|
83 |
+
// オプションによる追加チェック
|
84 |
+
$form = WPCF7_ContactForm::get_current();
|
85 |
+
$on_confirm = $form->additional_setting( 'on_confirm', false );
|
86 |
+
if ( ! empty( $on_confirm ) ) {
|
87 |
+
foreach($on_confirm as $key => $on_confirm_func) {
|
88 |
+
$items["onSubmit"][] = wpcf7_strip_quote( $on_confirm_func );
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
|
93 |
$items["message"] = "";
|
94 |
$items["mailSent"] = false;
|
95 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -65,5 +65,7 @@ An answer to that question.
|
|
65 |
Contact Form DBプラグインで確認ボタンクリック時に記録されてしまう問題を修正
|
66 |
|
67 |
== Upgrade notice ==
|
68 |
-
1.3.8.
|
69 |
-
|
|
|
|
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.13
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
65 |
Contact Form DBプラグインで確認ボタンクリック時に記録されてしまう問題を修正
|
66 |
|
67 |
== Upgrade notice ==
|
68 |
+
1.3.8.13
|
69 |
+
「on_confirm」オプションを追加、確認画面表示時に独自のJavascriptを追加できるようにしました。
|
70 |
+
編集に戻る際は、ボタンに直接イベントをつけて下さい。
|
71 |
+
|