Version Description
- Fixed a bug that tracking number was displayed +1 on the complete screen.
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 4.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.1.1 to 4.1.2
- classes/models/class.parser.php +9 -2
- classes/services/class.exec-shortcode.php +3 -2
- mw-wp-form.php +2 -2
- readme.txt +4 -1
classes/models/class.parser.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Name : MW WP Form Parser
|
4 |
-
* Version : 1.0.
|
5 |
* Author : Takashi Kitajima
|
6 |
* Author URI : https://2inc.org
|
7 |
* Created : July 10, 2017
|
8 |
-
* Modified :
|
9 |
* License : GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
@@ -232,6 +232,13 @@ class MW_WP_Form_Parser {
|
|
232 |
}
|
233 |
}
|
234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
$value = $this->Data->get( $name );
|
236 |
$value = MW_WP_Form_Parser::apply_filters_mwform_custom_mail_tag(
|
237 |
$this->Data->get_form_key(),
|
1 |
<?php
|
2 |
/**
|
3 |
* Name : MW WP Form Parser
|
4 |
+
* Version : 1.0.1
|
5 |
* Author : Takashi Kitajima
|
6 |
* Author URI : https://2inc.org
|
7 |
* Created : July 10, 2017
|
8 |
+
* Modified : August 22, 2019
|
9 |
* License : GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
232 |
}
|
233 |
}
|
234 |
|
235 |
+
// @see https://github.com/inc2734/mw-wp-form/issues/99
|
236 |
+
if ( MWF_Config::TRACKINGNUMBER . '_for_complete_page' === $name ) {
|
237 |
+
if ( $form_id ) {
|
238 |
+
return $this->Setting->get_tracking_number( $form_id ) - 1;
|
239 |
+
}
|
240 |
+
}
|
241 |
+
|
242 |
$value = $this->Data->get( $name );
|
243 |
$value = MW_WP_Form_Parser::apply_filters_mwform_custom_mail_tag(
|
244 |
$this->Data->get_form_key(),
|
classes/services/class.exec-shortcode.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Name : MW WP Form Exec Shortcode
|
4 |
-
* Version : 2.0.
|
5 |
* Author : Takashi Kitajima
|
6 |
* Author URI : https://2inc.org
|
7 |
* Created : December 31, 2014
|
8 |
-
* Modified :
|
9 |
* License : GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
@@ -198,6 +198,7 @@ class MW_WP_Form_Exec_Shortcode {
|
|
198 |
$this->Data
|
199 |
);
|
200 |
|
|
|
201 |
$content = $this->_wpautop( $content );
|
202 |
$content = $Parser->replace_for_mail_content( $content );
|
203 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Name : MW WP Form Exec Shortcode
|
4 |
+
* Version : 2.0.1
|
5 |
* Author : Takashi Kitajima
|
6 |
* Author URI : https://2inc.org
|
7 |
* Created : December 31, 2014
|
8 |
+
* Modified : August 22, 2019
|
9 |
* License : GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
198 |
$this->Data
|
199 |
);
|
200 |
|
201 |
+
$content = str_replace( '{' . MWF_Config::TRACKINGNUMBER . '}', '{' . MWF_Config::TRACKINGNUMBER . '_for_complete_page}', $content );
|
202 |
$content = $this->_wpautop( $content );
|
203 |
$content = $Parser->replace_for_mail_content( $content );
|
204 |
|
mw-wp-form.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: https://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, and chart aggregation using saved inquiry data.
|
6 |
-
* Version: 4.1.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: https://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
-
* Modified:
|
11 |
* Text Domain: mw-wp-form
|
12 |
* License: GPLv2 or later
|
13 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: https://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, and chart aggregation using saved inquiry data.
|
6 |
+
* Version: 4.1.2
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: https://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
+
* Modified: August 22, 2019
|
11 |
* Text Domain: mw-wp-form
|
12 |
* License: GPLv2 or later
|
13 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
|
|
4 |
Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph, html, contact form, form creation, form creator, form manager, form builder, custom form
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -72,6 +72,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
75 |
= 4.1.1 =
|
76 |
* Add admin_email_to column to CSV.
|
77 |
|
4 |
Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph, html, contact form, form creation, form creator, form manager, form builder, custom form
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 4.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 4.1.2 =
|
76 |
+
* Fixed a bug that tracking number was displayed +1 on the complete screen.
|
77 |
+
|
78 |
= 4.1.1 =
|
79 |
* Add admin_email_to column to CSV.
|
80 |
|