Version Description
Download this release
Release Info
Developer | Yuichiro ABE |
Plugin | Contact Form 7 add confirm |
Version | 4.6.1 |
Comparing to | |
See all releases |
Code changes from version 4.6 to 4.6.1
- contact-form-7-confirm.php +2 -2
- modules/back.php +9 -1
- modules/confirm.php +5 -1
- 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-add-confirm
|
9 |
Domain Path: /languages/
|
10 |
-
Version: 4.6
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
@@ -28,7 +28,7 @@ Version: 4.6
|
|
28 |
*/
|
29 |
|
30 |
|
31 |
-
define( 'WPCF7C_VERSION', '4.6' );
|
32 |
|
33 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
34 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
7 |
Author URI: http://www.eyeta.jp/
|
8 |
Text Domain: contact-form-7-add-confirm
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 4.6.1
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2014- Yuichiro ABE (email: y.abe at eyeta.jp)
|
28 |
*/
|
29 |
|
30 |
|
31 |
+
define( 'WPCF7C_VERSION', '4.6.1' );
|
32 |
|
33 |
if ( ! defined( 'WPCF7C_PLUGIN_BASENAME' ) )
|
34 |
define( 'WPCF7C_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
modules/back.php
CHANGED
@@ -8,7 +8,15 @@
|
|
8 |
add_action( 'wpcf7_init', 'wpcf7c_add_shortcode_back' );
|
9 |
|
10 |
function wpcf7c_add_shortcode_back() {
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
|
14 |
function wpcf7c_back_shortcode_handler( $tag ) {
|
8 |
add_action( 'wpcf7_init', 'wpcf7c_add_shortcode_back' );
|
9 |
|
10 |
function wpcf7c_add_shortcode_back() {
|
11 |
+
|
12 |
+
if(function_exists('wpcf7_add_form_tag')) {
|
13 |
+
wpcf7_add_form_tag( 'back', 'wpcf7c_back_shortcode_handler' );
|
14 |
+
} else {
|
15 |
+
wpcf7_add_shortcode( 'back', 'wpcf7c_back_shortcode_handler' );
|
16 |
+
}
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
}
|
21 |
|
22 |
function wpcf7c_back_shortcode_handler( $tag ) {
|
modules/confirm.php
CHANGED
@@ -8,7 +8,11 @@
|
|
8 |
add_action( 'wpcf7_init', 'wpcf7c_add_shortcode_confirm' );
|
9 |
|
10 |
function wpcf7c_add_shortcode_confirm() {
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
|
14 |
function wpcf7c_confirm_shortcode_handler( $tag ) {
|
8 |
add_action( 'wpcf7_init', 'wpcf7c_add_shortcode_confirm' );
|
9 |
|
10 |
function wpcf7c_add_shortcode_confirm() {
|
11 |
+
if(function_exists('wpcf7_add_form_tag')) {
|
12 |
+
wpcf7_add_form_tag( 'confirm', 'wpcf7c_confirm_shortcode_handler' );
|
13 |
+
} else {
|
14 |
+
wpcf7_add_shortcode( 'confirm', 'wpcf7c_confirm_shortcode_handler' );
|
15 |
+
}
|
16 |
}
|
17 |
|
18 |
function wpcf7c_confirm_shortcode_handler( $tag ) {
|
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.7
|
7 |
-
Stable tag: 4.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Text Domain: contact-form-7-add-confirm
|
@@ -130,6 +130,10 @@ An answer to that question.
|
|
130 |
4.3.3
|
131 |
アンカースクロールバグ修正
|
132 |
|
133 |
-
== Upgrade notice ==
|
134 |
4.6
|
135 |
-
WordPress4.7対応
|
|
|
|
|
|
|
|
|
|
3 |
Donate link:
|
4 |
Tags: contact, form, contact form
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.7.2
|
7 |
+
Stable tag: 4.6.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Text Domain: contact-form-7-add-confirm
|
130 |
4.3.3
|
131 |
アンカースクロールバグ修正
|
132 |
|
|
|
133 |
4.6
|
134 |
+
WordPress4.7対応
|
135 |
+
|
136 |
+
== Upgrade notice ==
|
137 |
+
4.6.1
|
138 |
+
Contact Form 7 ver.4.6に対応し
|
139 |
+
wpcf7_add_form_tag関数に対応
|