Version Description
- Changed : Update debug log format.
- Changed : Update checkbox and radio field markup.
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 2.14.0 |
Comparing to | |
See all releases |
Code changes from version 2.13.1 to 2.14.0
- classes/models/class.form.php +14 -4
- classes/models/class.mail.php +9 -7
- mw-wp-form.php +2 -2
- readme.txt +6 -2
classes/models/class.form.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/**
|
3 |
* Name : MW WP Form Form
|
4 |
* Description: フォームヘルパー
|
5 |
-
* Version : 1.
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : September 25, 2012
|
9 |
-
* Modified :
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
@@ -591,7 +591,12 @@ class MW_WP_Form_Form {
|
|
591 |
'class' => $options['class'],
|
592 |
) );
|
593 |
$_ret .= sprintf(
|
594 |
-
'<span class="mwform-radio-field %s"
|
|
|
|
|
|
|
|
|
|
|
595 |
$vertically,
|
596 |
$attributes_for_label,
|
597 |
esc_attr( $name ),
|
@@ -640,7 +645,12 @@ class MW_WP_Form_Form {
|
|
640 |
'class' => $options['class'],
|
641 |
) );
|
642 |
$_ret .= sprintf(
|
643 |
-
'<span class="mwform-checkbox-field %s"
|
|
|
|
|
|
|
|
|
|
|
644 |
$vertically,
|
645 |
$attributes_for_label,
|
646 |
esc_attr( $name . '[data][]' ),
|
2 |
/**
|
3 |
* Name : MW WP Form Form
|
4 |
* Description: フォームヘルパー
|
5 |
+
* Version : 1.10.0
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : September 25, 2012
|
9 |
+
* Modified : January 13, 2017
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
591 |
'class' => $options['class'],
|
592 |
) );
|
593 |
$_ret .= sprintf(
|
594 |
+
'<span class="mwform-radio-field %s">
|
595 |
+
<label%s>
|
596 |
+
<input type="radio" name="%s" value="%s"%s %s />
|
597 |
+
<span class="mwform-radio-field-text">%s</span>
|
598 |
+
</label>
|
599 |
+
</span>',
|
600 |
$vertically,
|
601 |
$attributes_for_label,
|
602 |
esc_attr( $name ),
|
645 |
'class' => $options['class'],
|
646 |
) );
|
647 |
$_ret .= sprintf(
|
648 |
+
'<span class="mwform-checkbox-field %s">
|
649 |
+
<label%s>
|
650 |
+
<input type="checkbox" name="%s" value="%s"%s %s />
|
651 |
+
<span class="mwform-checkbox-field-text">%s</span>
|
652 |
+
</label>
|
653 |
+
</span>',
|
654 |
$vertically,
|
655 |
$attributes_for_label,
|
656 |
esc_attr( $name . '[data][]' ),
|
classes/models/class.mail.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/**
|
3 |
* Name : MW WP Form Mail
|
4 |
* Description: メールクラス
|
5 |
-
* Version : 2.
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : July 20, 2012
|
9 |
-
* Modified :
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
@@ -79,10 +79,11 @@ class MW_WP_Form_Mail {
|
|
79 |
return;
|
80 |
}
|
81 |
|
82 |
-
$sender
|
83 |
-
$from
|
84 |
-
$
|
85 |
-
$
|
|
|
86 |
|
87 |
add_action( 'phpmailer_init' , array( $this, 'set_return_path' ) );
|
88 |
add_filter( 'wp_mail_from' , array( $this, 'set_mail_from' ) );
|
@@ -106,11 +107,12 @@ class MW_WP_Form_Mail {
|
|
106 |
$to = trim( $this->to );
|
107 |
if ( !empty( $File ) ) {
|
108 |
$contents = sprintf(
|
109 |
-
"====================\n\nSend Date: %s\nTo: %s\nSender: %s\nFrom: %s\nSubject: %s\nheaders:%s\n-----\n%s\n-----\nattachments:\n%s\n\n",
|
110 |
date( 'M j Y, H:i:s' ),
|
111 |
$to,
|
112 |
$sender,
|
113 |
$from,
|
|
|
114 |
$subject,
|
115 |
implode( "\n", $headers ),
|
116 |
$body,
|
2 |
/**
|
3 |
* Name : MW WP Form Mail
|
4 |
* Description: メールクラス
|
5 |
+
* Version : 2.1.0
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : July 20, 2012
|
9 |
+
* Modified : January 13, 2017
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
79 |
return;
|
80 |
}
|
81 |
|
82 |
+
$sender = $this->sender;
|
83 |
+
$from = $this->from;
|
84 |
+
$return_path = $this->return_path;
|
85 |
+
$subject = $this->subject;
|
86 |
+
$body = $this->body;
|
87 |
|
88 |
add_action( 'phpmailer_init' , array( $this, 'set_return_path' ) );
|
89 |
add_filter( 'wp_mail_from' , array( $this, 'set_mail_from' ) );
|
107 |
$to = trim( $this->to );
|
108 |
if ( !empty( $File ) ) {
|
109 |
$contents = sprintf(
|
110 |
+
"====================\n\nSend Date: %s\nTo: %s\nSender: %s\nFrom: %s\nReturn-Path: %s\nSubject: %s\nheaders:%s\n-----\n%s\n-----\nattachments:\n%s\n\n",
|
111 |
date( 'M j Y, H:i:s' ),
|
112 |
$to,
|
113 |
$sender,
|
114 |
$from,
|
115 |
+
$return_path,
|
116 |
$subject,
|
117 |
implode( "\n", $headers ),
|
118 |
$body,
|
mw-wp-form.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form is shortcode base contact form plugin. This plugin have many feature. For example you can use many validation rules, contact data saving, and chart aggregation using saved contact data.
|
6 |
-
* Version: 2.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
-
* Modified: January
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPLv2 or later
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form is shortcode base contact form plugin. This plugin have many feature. For example you can use many validation rules, contact data saving, and chart aggregation using saved contact data.
|
6 |
+
* Version: 2.14.0
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
+
* Modified: January 13, 2017
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPLv2 or later
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: inc2734, ryu263, tomothumb, nanniku, mt8.biz, NExt-Season, kuck1u,
|
|
3 |
Donate link: http://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: 4.7.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -80,6 +80,10 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
|
|
83 |
= 2.13.1 =
|
84 |
* Bugfix : Fix undefined constant error FILEINFO_MIME_TYPE
|
85 |
|
3 |
Donate link: http://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: 4.7.1
|
7 |
+
Stable tag: 2.14.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 2.14.0 =
|
84 |
+
* Changed : Update debug log format.
|
85 |
+
* Changed : Update checkbox and radio field markup.
|
86 |
+
|
87 |
= 2.13.1 =
|
88 |
* Bugfix : Fix undefined constant error FILEINFO_MIME_TYPE
|
89 |
|