MW WP Form - Version 4.1.0

Version Description

  • Add filter hook mwform_csv_columns-mwf_xxx
  • Fixed the bug that "MW WP Form dosen't support" mwform_after_exec_shortcode "already." is output to the error log even though it is not hooked.
  • Changed to save destination admin email address in inquiry data.
  • Fixed a bug that notice occurs when changing the response status of inquiry data.
Download this release

Release Info

Developer inc2734
Plugin Icon wp plugin MW WP Form
Version 4.1.0
Comparing to
See all releases

Code changes from version 4.0.6 to 4.1.0

classes/controllers/class.contact-data-list.php CHANGED
@@ -156,6 +156,7 @@ class MW_WP_Form_Contact_Data_List_Controller extends MW_WP_Form_Controller {
156
 
157
  unset( $columns['date'] );
158
  $columns['post_date'] = __( 'Registed Date', 'mw-wp-form' );
 
159
  $columns['response_status'] = __( 'Response Status', 'mw-wp-form' );
160
  $_columns = array();
161
 
@@ -202,6 +203,8 @@ class MW_WP_Form_Contact_Data_List_Controller extends MW_WP_Form_Controller {
202
  $response_statuses = $Contact_Data_Setting->get_response_statuses();
203
  $response_status = $Contact_Data_Setting->get( 'response_status' );
204
  $value = $response_statuses[ $response_status ];
 
 
205
  } elseif ( is_array( $post_custom_keys ) && in_array( $column, $post_custom_keys ) ) {
206
  $post_meta = get_post_meta( $post_id, $column, true );
207
  if ( $Contact_Data_Setting->is_upload_file_key( $column ) ) {
156
 
157
  unset( $columns['date'] );
158
  $columns['post_date'] = __( 'Registed Date', 'mw-wp-form' );
159
+ $columns['admin_mail_to'] = __( 'Admin Mail To', 'mw-wp-form' );
160
  $columns['response_status'] = __( 'Response Status', 'mw-wp-form' );
161
  $_columns = array();
162
 
203
  $response_statuses = $Contact_Data_Setting->get_response_statuses();
204
  $response_status = $Contact_Data_Setting->get( 'response_status' );
205
  $value = $response_statuses[ $response_status ];
206
+ } elseif ( 'admin_mail_to' === $column ) {
207
+ $value = $Contact_Data_Setting->get( 'admin_mail_to' );
208
  } elseif ( is_array( $post_custom_keys ) && in_array( $column, $post_custom_keys ) ) {
209
  $post_meta = get_post_meta( $post_id, $column, true );
210
  if ( $Contact_Data_Setting->is_upload_file_key( $column ) ) {
classes/controllers/class.contact-data.php CHANGED
@@ -27,11 +27,18 @@ class MW_WP_Form_Contact_Data_Controller extends MW_WP_Form_Controller {
27
  $args = array();
28
  }
29
 
 
 
 
 
 
 
 
30
  $args = array_merge( $args, array(
31
  'post_type' => $screen->post_type,
32
  'posts_per_page' => 1,
33
  'post_status' => 'any',
34
- 'p' => $_GET['post'],
35
  ) );
36
  $permit_posts = get_posts( $args );
37
  if ( empty( $permit_posts ) ) {
27
  $args = array();
28
  }
29
 
30
+ $_post_id = null;
31
+ if ( isset( $_GET['post'] ) ) {
32
+ $_post_id = $_GET['post'];
33
+ } elseif ( $_POST['post_ID'] ) {
34
+ $_post_id = $_POST['post_ID'];
35
+ }
36
+
37
  $args = array_merge( $args, array(
38
  'post_type' => $screen->post_type,
39
  'posts_per_page' => 1,
40
  'post_status' => 'any',
41
+ 'p' => $_post_id,
42
  ) );
43
  $permit_posts = get_posts( $args );
44
  if ( empty( $permit_posts ) ) {
classes/deprecated.php CHANGED
@@ -2,11 +2,15 @@
2
  class MWF_Deprecated {
3
 
4
  public function __construct() {
5
- add_action( 'mwform_after_exec_shortcode', array( $this, '_mwform_after_exec_shortcode' ), 10000 );
6
  }
7
 
8
- public function _mwform_after_exec_shortcode() {
9
- if ( has_filter( 'mwform_after_exec_shortcode' ) ) {
 
 
 
 
10
  MWF_Functions::deprecated_message(
11
  'mwform_after_exec_shortcode',
12
  'mwform_start_main_process'
@@ -14,4 +18,5 @@ class MWF_Deprecated {
14
  }
15
  }
16
  }
 
17
  new MWF_Deprecated();
2
  class MWF_Deprecated {
3
 
4
  public function __construct() {
5
+ add_action( 'mwform_after_exec_shortcode', array( $this, '_mwform_after_exec_shortcode2' ), 10000 );
6
  }
7
 
8
+ public function _mwform_after_exec_shortcode2() {
9
+ global $wp_filter;
10
+
11
+ remove_action( 'mwform_after_exec_shortcode', array( $this, '_mwform_after_exec_shortcode2' ), 10000 );
12
+
13
+ if ( has_action( 'mwform_after_exec_shortcode' ) ) {
14
  MWF_Functions::deprecated_message(
15
  'mwform_after_exec_shortcode',
16
  'mwform_start_main_process'
18
  }
19
  }
20
  }
21
+
22
  new MWF_Deprecated();
classes/models/class.contact-data-setting.php CHANGED
@@ -29,6 +29,12 @@ class MW_WP_Form_Contact_Data_Setting {
29
  */
30
  protected $response_status = 'not-supported';
31
 
 
 
 
 
 
 
32
  /**
33
  * Memo
34
  * @var string
@@ -123,8 +129,10 @@ class MW_WP_Form_Contact_Data_Setting {
123
  if ( 'response_status' === $key ) {
124
  $response_statuses = $this->get_response_statuses();
125
  if ( isset( $response_statuses[ $this->response_status ] ) ) {
126
- return $this->response_status;
127
  }
 
 
128
  }
129
  return $this->$key;
130
  } elseif ( isset( $this->options[ $key ] ) ) {
@@ -146,14 +154,13 @@ class MW_WP_Form_Contact_Data_Setting {
146
  return;
147
  }
148
 
149
- if ( 'response_status' !== $key ) {
150
- $this->$key = $value;
151
- return;
152
- }
153
-
154
- if ( array_key_exists( $value, $this->get_response_statuses() ) ) {
155
  $this->$key = $value;
156
- return;
157
  }
158
  }
159
 
29
  */
30
  protected $response_status = 'not-supported';
31
 
32
+ /**
33
+ * Sended mail to
34
+ * @var string
35
+ */
36
+ protected $admin_mail_to;
37
+
38
  /**
39
  * Memo
40
  * @var string
129
  if ( 'response_status' === $key ) {
130
  $response_statuses = $this->get_response_statuses();
131
  if ( isset( $response_statuses[ $this->response_status ] ) ) {
132
+ return $this->$key;
133
  }
134
+ } elseif ( 'admin_mail_to' === $key ) {
135
+ return $this->$key;
136
  }
137
  return $this->$key;
138
  } elseif ( isset( $this->options[ $key ] ) ) {
154
  return;
155
  }
156
 
157
+ if ( 'response_status' === $key ) {
158
+ if ( array_key_exists( $value, $this->get_response_statuses() ) ) {
159
+ $this->$key = $value;
160
+ return;
161
+ }
162
+ } elseif ( 'admin_mail_to' === $key ) {
163
  $this->$key = $value;
 
164
  }
165
  }
166
 
classes/models/class.csv.php CHANGED
@@ -157,6 +157,7 @@ class MW_WP_Form_CSV {
157
  $_columns = apply_filters( 'mwform_inquiry_data_columns-' . $this->post_type, $_columns );
158
  $columns = array_merge( $columns, $_columns );
159
  $columns = array_merge( $columns, array( 'memo' => __( 'Memo', 'mw-wp-form' ) ) );
 
160
  return $columns;
161
  }
162
 
157
  $_columns = apply_filters( 'mwform_inquiry_data_columns-' . $this->post_type, $_columns );
158
  $columns = array_merge( $columns, $_columns );
159
  $columns = array_merge( $columns, array( 'memo' => __( 'Memo', 'mw-wp-form' ) ) );
160
+ $columns = apply_filters( 'mwform_csv_columns-' . $this->post_type, $columns );
161
  return $columns;
162
  }
163
 
classes/services/class.mail-parser.php CHANGED
@@ -156,6 +156,13 @@ class MW_WP_Form_Mail_Parser {
156
  $data[ $name ] = ( is_null( $value ) ) ? '' : $value;
157
  }
158
 
 
 
 
 
 
 
 
159
  $Contact_Data_Setting = new MW_WP_Form_Contact_Data_Setting( $this->Data->get_saved_mail_id() );
160
  $Contact_Data_Setting->sets( $data );
161
  $Contact_Data_Setting->save();
156
  $data[ $name ] = ( is_null( $value ) ) ? '' : $value;
157
  }
158
 
159
+ $data = array_merge(
160
+ array(
161
+ 'admin_mail_to' => $this->Mail->to, // admin_mail_to = The property of MW_WP_Form_Contact_Data_Setting
162
+ ),
163
+ $data
164
+ );
165
+
166
  $Contact_Data_Setting = new MW_WP_Form_Contact_Data_Setting( $this->Data->get_saved_mail_id() );
167
  $Contact_Data_Setting->sets( $data );
168
  $Contact_Data_Setting->save();
classes/services/class.mail.php CHANGED
@@ -81,12 +81,14 @@ class MW_WP_Form_Mail_Service {
81
  */
82
  public function send_admin_mail() {
83
  $Mail_admin = $this->_get_parsed_mail_object( $this->Mail_admin_raw );
 
 
 
84
  if ( $this->Setting->get( 'usedb' ) ) {
85
  $Mail_admin_for_save = clone $this->Mail_admin_raw;
 
86
  }
87
 
88
- $Mail_admin = $this->_apply_filters_mwform_mail( $Mail_admin );
89
- $Mail_admin = $this->_apply_filters_mwform_admin_mail( $Mail_admin );
90
  do_action(
91
  'mwform_before_send_admin_mail_' . $this->form_key,
92
  clone $Mail_admin,
81
  */
82
  public function send_admin_mail() {
83
  $Mail_admin = $this->_get_parsed_mail_object( $this->Mail_admin_raw );
84
+ $Mail_admin = $this->_apply_filters_mwform_mail( $Mail_admin );
85
+ $Mail_admin = $this->_apply_filters_mwform_admin_mail( $Mail_admin );
86
+
87
  if ( $this->Setting->get( 'usedb' ) ) {
88
  $Mail_admin_for_save = clone $this->Mail_admin_raw;
89
+ $Mail_admin_for_save->to = $Mail_admin->to;
90
  }
91
 
 
 
92
  do_action(
93
  'mwform_before_send_admin_mail_' . $this->form_key,
94
  clone $Mail_admin,
css/admin-data-list.css CHANGED
@@ -33,6 +33,7 @@
33
  */
34
  .mw-wp-form-wp-list-table {
35
  overflow: auto;
 
36
  }
37
  .mw-wp-form-wp-list-table .wp-list-table {
38
  table-layout: auto;
@@ -40,4 +41,4 @@
40
  }
41
  .mw-wp-form-wp-list-table .wp-list-table th {
42
  white-space: nowrap;
43
- }
33
  */
34
  .mw-wp-form-wp-list-table {
35
  overflow: auto;
36
+ width: 100%;
37
  }
38
  .mw-wp-form-wp-list-table .wp-list-table {
39
  table-layout: auto;
41
  }
42
  .mw-wp-form-wp-list-table .wp-list-table th {
43
  white-space: nowrap;
44
+ }
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.0.6
7
  * Author: Takashi Kitajima
8
  * Author URI: https://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: December 13, 2019
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.0
7
  * Author: Takashi Kitajima
8
  * Author URI: https://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: July 31, 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
@@ -1,76 +1,83 @@
1
- === MW WP Form ===
2
- Contributors: inc2734, ryu263, tomothumb, nanniku, mt8.biz, NExt-Season, kuck1u, mypacecreator, mh35, grace-create
3
- 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.0.1
7
- Stable tag: 4.0.6
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
  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.
12
-
13
- == Description ==
14
-
15
- MW WP Form can create mail form with a confirmation screen using shortcode.
16
-
17
- * Form created using shortcodes
18
- * Using confirmation page is possible.
19
- * The page changes by the same URL or individual URL are possible.
20
- * Many validation rules
21
  * Saving inquiry data is possible.
22
  * Displaying Chart using saved inquiry data is possible.
23
-
24
- = Official =
25
-
26
  https://plugins.2inc.org/mw-wp-form/
27
-
28
- = GitHub =
29
-
30
- https://github.com/inc2734/mw-wp-form
31
-
32
- = The following third-party resources =
33
-
34
- Google Charts
35
- Source: https://developers.google.com/chart/
36
-
37
- = Contributors =
38
-
39
  * [Takashi Kitajima](https://2inc.org) ( [inc2734](https://profiles.wordpress.org/inc2734) )
40
- * [Ryujiro Yamamoto](https://webcre-archive.com) ( [ryu263](https://profiles.wordpress.org/ryu263) )
41
- * [Tsujimoto Tomoyuki](http://kee-non.com) ( [tomothumb](https://profiles.wordpress.org/tomothumb) )
42
- * [Naoyuki Ohata] ( [nanniku](https://profiles.wordpress.org/nanniku) )
43
- * [Kazuto Takeshita](https://mt8.biz/) ( [moto hachi](https://profiles.wordpress.org/mt8biz/) )
44
- * [Atsushi Ando](https://www.next-season.net/) ( [NExt-Season](https://profiles.wordpress.org/next-season/) )
45
- * [Kazuki Tomiyasu](https://visualive.jp/) ( [KUCKLU](https://profiles.wordpress.org/kuck1u/) )
46
- * [Kei Nomura](https://mypacecreator.net/) ( [mypacecreator](https://profiles.wordpress.org/mypacecreator/) )
47
- * [mh35](https://profiles.wordpress.org/mh35)
48
  * [Takashi Nojima](https://github.com/nojimage)
49
  * [herikutu](https://github.com/herikutu)
50
-
51
- == Installation ==
52
-
53
- 1. Upload `MW WP Form` to the `/wp-content/plugins/` directory
54
- 1. Activate the plugin through the 'Plugins' menu in WordPress
55
- 1. You can create a form by settings page.
56
-
57
- == Frequently Asked Questions ==
58
-
59
- Do you have questions or issues with MW WP Form? Use these support channels appropriately.
60
-
61
- 1. [Official](https://plugins.2inc.org/mw-wp-form/)
62
- 1. [Support Forum](https://wordpress.org/support/plugin/mw-wp-form)
63
-
64
- == Screenshots ==
65
-
66
- 1. Form creation page.
67
- 2. Form item create box. You can easily insert the form.
68
- 3. Supports saving inquiry data to database.
69
- 4. List page of inquiry data that has been saved.
70
- 5. Supports chart display of saved inquiry data.
71
-
 
72
  == Changelog ==
73
 
 
 
 
 
 
 
74
  = 4.0.6 =
75
  * Fixed a bug that line feed was not applied to the form that using the block editor.
76
 
@@ -178,587 +185,587 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
178
 
179
  = 2.8.3 =
180
  * Added : Added the upload failure of the error message in filesize validation.
181
-
182
- = 2.8.2 =
183
- * Bugfix : Fixed a json parser bug.
184
-
185
- = 2.8.1 =
186
- * Added : Added MinImageSize validation.
187
- * Added : Added MaxImageSize validation.
188
- * Bugfix : Fixed a set_upload_file_keys bug and rename to regenerate_upload_file_keys.
189
-
190
- = 2.8.0 =
191
- * Added : Support slug attribute. e.g. [mwform_formkey slug="form_slug"]
192
- * Added : Added filter hook mwform_inquiry_data_columns-mwf_xxx
193
- * Added : Added filter hook mwform_upload_file_keys_mw-wp-form-xxx
194
- * Added : Added args of filter hook mwform_upload_dir_mw-wp-form-xxx and mwform_upload_filename_mw-wp-form-xxx
195
- * Added : Added the Custom Mail Tag field. This field display value of mwform_custom_mail_tag_mw-wp-form-xxx.
196
- * Bugfix : docx, xlsx, pptx upload bug fixed.
197
- * Bugfix : Fixed a bug that the extension isn't added when using filter hook mwform_upload_filename_mw-wp-form-xxx.
198
- * Changed : Sending the file url when saving in database and input {file key} and {image key} in the mail.
199
- * Changed : Check of the js attribute of datepicker is now strictly. Property MUST be enclosed in double quotes.
200
- * Changed : Changed the form token name.
201
-
202
- = 2.7.0 =
203
- * Added : Added Method MW_WP_Form_Mail_Parser::get_saved_mail_id()
204
- * Added : Added Method MW_WP_Form_Mail::get_saved_mail_id()
205
- * Added : Added filter hook mwform_upload_dir_mw-wp-form-xxx
206
- * Added : Added filter hook mwform_upload_filename_mw-wp-form-xxx
207
- * Added : Added filter hook mwform_no_save_keys_mw-wp-form-xxx
208
- * Changed : Changed to save the default values of contact data meta data at the time of email saved.
209
- * Bugfix : Fixed a bug that e-mail is not sent when the "from" is in violation of the RFC.
210
-
211
- = 2.6.4 =
212
- * Added : Add filter hook mwform_content_wpautop_mw-wp-form-xxx
213
- * Added : Add argument at mwform_after_send_mw-wp-form-xxx
214
- * Added : Add method MW_WP_Form_Data::get_form_key()
215
-
216
- = 2.6.3 =
217
- * Bugfix : Fixed a eq validation bug.
218
-
219
- = 2.6.2 =
220
- * Bugfix : Fixed a bug that class attribute can't set at radio.
221
- * Bugfix : Fixed a bug that id and class attribute can't set at file.
222
-
223
- = 2.6.1 =
224
- * Changed : Removed for the Generator code.
225
- * Bugfix : Fixed a bug that mwform_default_settings doesn't fired.
226
-
227
- = 2.6.0 =
228
- * Bugfix : JavaScript bug fix on validation.
229
- * Changed : Multilingual support. Changed domain.
230
- * Changed : Changed radio and checkbox style.
231
- * Added : Added the class attribute setting.
232
-
233
- = 2.5.3 =
234
- * Added : Japanese zip code validation allows the format of the form 0000000.
235
- * Bugfix : Fixed a date validation bug.
236
-
237
- = 2.5.2 =
238
- * Added : Add new validation rule japanese kana.
239
- * Added : Add action hook mwform_before_send_admin_mail_mw-wp-form-xxx.
240
- * Added : Add action hook mwform_before_send_reply_mail_mw-wp-form-xxx.
241
- * Added : Add action hook mwform_after_send_mw-wp-form-xxx.
242
- * Added : Add action hook mwform_enqueue_scripts_mw-wp-form-xxx.
243
-
244
- = 2.5.1 =
245
- * Update readme.txt
246
-
247
- = 2.5.0 =
248
- * Added : Add html5 email field.
249
- * Added : Add html5 url field.
250
- * Added : Add html5 range field.
251
- * Added : Add html5 number field.
252
- * Added : Support attribute placeholder in datepicker.
253
- * Changed : maxlength default value is null.
254
- * Bugfix : Fixed a bug that is CC and BCC have been overlapping sent when To is multiple.
255
-
256
- = 2.4.12 =
257
- * Bugfix : filter hook 'mwform_value_mwf_xxx' does not work when to use radio or checkboxes.
258
- * Changed : Changed checkbox default separator ', ' to ','.
259
-
260
- = 2.4.11 =
261
- * Bugfix : Fixed a bug that attachment file does not displayed in contact data list page.
262
- * Changed : Trim email address on inputs.
263
-
264
- = 2.4.10 =
265
- * Bugfix : Fixed a bug that does not scroll when you return to the input screen.
266
-
267
- = 2.4.9 =
268
- * Bugfix : Fixes a bug that the value of last checkbox is only posted when multiple same name checkboxes created and those post_raw is true.
269
-
270
- = 2.4.8 =
271
- * Changed : Change the value to save even null when you save the contact data.
272
- * Changed : Default value of radio and checkbox is null.
273
-
274
- = 2.4.7 =
275
- * Bugfix : Fixed a bug the custom_mail_tag from To, CC and BCC.
276
-
277
- = 2.4.6 =
278
- * Changed : The custom_mail_tag filter hook applied to To, CC and BCC.
279
- * Changed : Full size image is displayed when you click the thumbnail of the attached image in saving contact data list.
280
-
281
- = 2.4.5 =
282
- * Refactoring MW_WP_Form_Data Class.
283
- * Added : Add MW_WP_Form_Mail_Parse class.
284
- * Added : Add Tracking Number setting field.
285
- * Added : Sender and From are written to the debug log.
286
- * Bugfix : Fixed a bug that sometimes icon is not displayed in contact data list.
287
-
288
- = 2.4.4 =
289
- * Bugfix : Fixed a conv_half_alphanumeric attribute bug.
290
-
291
- = 2.4.3 =
292
- * Changed : Changed visibility of MW_WP_Form_Validation::set_rule() protected to public.
293
-
294
- = 2.4.2 =
295
- * Bugfix : Fixed a hidden field bug.
296
-
297
- = 2.4.1 =
298
- * Bugfix : Fixed a mwform_csv_encoding-mwf_xxx bug.
299
-
300
- = 2.4.0 =
301
- * Refactoring
302
- * Added : Add filter hook mwform_csv_encoding-mwf_xxx.
303
- * Deleted : Delete some Deprecated hooks, methods.
304
- * Bugfix : Fixed a csv bug.
305
- * Deprecated: MW_WP_Form_Form::get_raw()
306
- * Deprecated: MW_WP_Form_Form::get_raw_in_children()
307
- * Deprecated: MW_WP_Form_Form::get_zip_value()
308
- * Deprecated: MW_WP_Form_Form::get_tel_value()
309
- * Deprecated: MW_WP_Form_Form::get_checked_value()
310
- * Deprecated: MW_WP_Form_Form::get_radio_value()
311
- * Deprecated: MW_WP_Form_Form::get_selected_value()
312
- * Deprecated: MW_WP_Form_Form::get_separated_raw_value()
313
- * Deprecated: MW_WP_Form_Form::get_separator_value()
314
-
315
- = 2.3.5 =
316
- * Bugfix : Fixed a post_raw bug at select and radio.
317
-
318
- = 2.3.4 =
319
- * Bugfix : Fixed a bug that checkboxes are checked when children are added by hook.
320
-
321
- = 2.3.3 =
322
- * Bugfix : Fixed a bug that tracking number does not count up.
323
-
324
- = 2.3.2 =
325
- * Bugfix : Fixed a bug that form does not display when is surrounded by enclosed type shortcode.
326
- * Changed : Update tests.
327
-
328
- = 2.3.1 =
329
- * Bugfix : Fixed a post_raw option bug.
330
-
331
- = 2.3.0 =
332
- * Refactoring mail sending part.
333
- * Added : Add "Send value by e-mail" option for checkbox, select, radio.
334
- * Added : Add filter hook mwform_custom_mail_tag_mw-wp-form-xxx.
335
- * Added : Add filter hook mwform_contact_data_post_type.
336
- * Added : Add filter hook mwform_get_inquiry_data_args-mwf_xxx
337
- * Added : Add debug mode. no send mail and logging when set "define( 'MWFORM_DEBUG', true );".
338
- * Added : Add filter hook mwform_log_directory.
339
- * Changed : Refactoring admin pages.
340
- * Changed : Changed generating method of file name that uploaded.
341
- * Bugfix : Fixed ai, psd, eps file upload bug.
342
- * Bugfix : Fix typo.
343
-
344
- = 2.2.7 =
345
- * Changed : Changed to be able to use ":" as value at checkbox, select, radio.
346
-
347
- = 2.2.6 =
348
- * Added : Adding MW_WP_Form_Data object to augment of mail related hooks.
349
- * Added : Adding MW_WP_Form_Data object to augment of mwform_validation hook.
350
- * Bug fix : Fixed a bug that post_title is not parsed when contact data saving in database.
351
- * Bug fix : Fixed a bug that post value is sent and saved when children attribute separate at post value and display value.
352
-
353
- = 2.2.5 =
354
- * Bug fix : Fixed a checkbox bug.
355
-
356
- = 2.2.4 =
357
- * Added : Added sortable handle in validation settings and chart settings.
358
- * Bug fix : Fixed a children attribute bug.
359
- * Bug fix : Fixed a bug that also "contact data" menu is displayed when there is no form that has been set contact data saving.
360
-
361
- = 2.2.3 =
362
- * Bug fix : Fixed a bug that exec shortcode are not converted when use template.
363
-
364
- = 2.2.2 =
365
- * Bug fix : Fixed a tel validation bug.
366
- * Bug fix : Fixed a zip validation bug.
367
- * Bug fix : Fixed a in validation bug.
368
-
369
- = 2.2.1 =
370
- * Bug fix : Fixed a bug that remove_query_vars_from_post() is not executed.
371
- * Bug fix : Fixed a akismet feature bug.
372
- * Bug fix : Fixed a uninstall bug.
373
-
374
- = 2.2.0 =
375
- * Refactoring
376
- * Bug fix : Fixed a mwform_tracking_number_title filter hook bug.
377
- * Bug fix : Fixed a bug that can not set the more than 2 default values of the checkbox.
378
- * Bug fix : Fixed a bug that double quotation of shortcodes are escaped in manual form.
379
- * Changed : Class name changed MW_Form_Field to MW_WP_Form_Abstract_Form_Field.
380
- * Changed : Class name changed MW_Validation_Rule to MW_WP_Form_Abstract_Validation_Rule.
381
- * Changed : Zip or Tel validation can use Japanese only.
382
- * Changed : Zip or Tel field can use Japanese only.
383
- * Added : You can set a different value in the key and display value for children of checkbox, select, radio. For xample, [mwform_checkbox name="hoge" children="key1:value1,key2:value2"]
384
-
385
- = 2.1.4 =
386
- * Bug fix : Fixed a bug that data lost when there are multiple same name radio buttons and checkboxes.
387
-
388
- = 2.1.3 =
389
- * Bug fix : Fixed a bug that number of newline characters are different by the environment.
390
- * Changed : Modified to ignore uppercase letters of lowercase letters at the file type validation.
391
-
392
- = 2.1.2 =
393
- * Added : Added form key in list of MW WP Form page.
394
- * Bug fix : Fixed a bug that "add form tag button" is displayed in complete message area.
395
-
396
- = 2.1.1 =
397
- * Added : Added CSV Download option.
398
- * Added : Added an option to vertically display in Radio and Checkbox.
399
- * Changed : Optimization of the number display processing of saving contact data.
400
- * Changed : Change separator of checkbox in confirm page.
401
-
402
- = 2.1.0 =
403
- * Added : Add filter_hook mwform_post_content_raw_mw-wp-form-xxx.
404
- * Added : Add filter_hook mwform_post_content_mw-wp-form-xxx.
405
- * Added : Add filter_hook mwform_form_fields.
406
- * Added : Add "Error" form type.
407
- * Changed : MW_Form_Field::mwform_tag_generator_dialog() method needs $options argument.
408
- * Changed : Zip code field and Tel field are wrapped by span tag.
409
- * Bug fix : Empty separator is changed to not allow in checkbox field.
410
- * Bug fix : Fix add form tag button css bug.
411
-
412
- = 2.0.0 =
413
- * Added : Add scrolling of screen transition setting.
414
- * Added : Add filter_hook mwform_scroll_offset_mw-wp-form-xxx.
415
- * Added : Support auto tracking number.
416
- * Added : Add filter_hook mwform_tracking_number_title_mw-wp-form-xxx.
417
-
418
- = 1.9.4 =
419
- * Bug fix : Fix HTML structures.
420
- * Bug fix : Fix bug that does not display image of image field in SSL.
421
- * Bug fix : Fix bug that does not display link of file field in SSL.
422
-
423
- = 1.9.3 =
424
- * Bug fix : Fix bug that would be escaped in double.
425
- * Bug fix : Fix uninstall process.
426
-
427
- = 1.9.2 =
428
- * Bug fix : Fix comment in mwform_confirmButton dialogbox.
429
- * Bug fix : Fix bug in stacking order of the dialog in WordPress 4.0.
430
-
431
- = 1.9.1 =
432
- * Changed : Easy to see change the form tag insertion selectbox.
433
- * Deleted : Delete size attribute in file or image field.
434
- * Bug fix : Fix bug that there are cases where the page chache does not disabled on Nginx.
435
-
436
- = 1.9.0 =
437
- * Added : Add chart function.
438
- * Added : Add separator attribute in checkbox tag generator.
439
- * Bug fix : Fix bug that can not change display option in saving contact data list page.
440
- * Bug fix : Fix bug that display wrong number of inquiries.
441
-
442
- = 1.8.4 =
443
- * Bug fix : Fix bug that can not be set maxlength in mwform_text shortcode.
444
-
445
- = 1.8.3 =
446
- * Bug fix : Fix bug that file is not uploaded when validation is not set in the file field.
447
-
448
- = 1.8.2 =
449
- * Bug fix : Fix bug that PHP error is displayed in file type validation.
450
- * Bug fix : Fix bug that PHP error is displayed in admin page.
451
- * Changed : Change to upload file even if there is a validation error in other fields.
452
- * Changed : Change to display by scrolling when width of list of stored data is wide.
453
-
454
- = 1.8.1 =
455
- * Bug fix : Fix PHP error under PHP 5.3.0
456
- * Bug fix : Fix bug that are not validated of noEmpty in zip and tel field.
457
- * Bug fix : Fix bug that error is displayed if the validation that was registered is disabled.
458
-
459
- = 1.8.0 =
460
- * Added : Add mwform_validation_rules filter hook.
461
- * Added : Add API to get the data for mail.
462
- * Added : Add setting of response status in saved contact data.
463
- * Added : Add response status and memo in csv.
464
- * Added : Add returning link from detail of database saving data to list page.
465
- * Changed : Form field is empty if seted null in value of shortcode.
466
- * Changed : WordPress 3.7 higher is required.
467
-
468
- = 1.7.2 =
469
- * Bug fix : XSS vulnerability fix.
470
-
471
- = 1.7.1 =
472
- * Bug fix : Fixed a bug that MW WP Form's shortcodes doesn't parse in the nested shortcode.
473
-
474
- = 1.7.0 =
475
- * Added : X-Accel-Expires param in header.
476
- * Added : Add CC setting in admin mail setting.
477
- * Added : Add BCC setting in admin mail setting.
478
- * Changed : Data store has been changed to Transient API from PHP SESSION.
479
- * Changed : Nonce check system has been changed to WordPress nonce check system from original.
480
- * Changed : Accept space in katakana validation.
481
- * Changed : Accept space in hiragana validation.
482
- * Changed : The way of isplaying attached files has been changed to URL from ID in csv file.
483
- * Changed : Require WordPress Version 3.5
484
- * Bug fix : Fixed a bug that sender not set at email when {sender} and {e-mail} in mail settings were conversion blank.
485
-
486
- = 1.6.1 =
487
- * Bug fix : Support Akismet 3.0.0
488
- * Changed : Support psd, ai, eps file upload.
489
-
490
- = 1.6.0 =
491
- * Changed : Changed Redirection flow.
492
- * Changed : If querystring setting is set and doesn't get post from querystring, return empty.
493
- * Changed : When a URL doesn't begin http or https in URL settings, home_url() is complemented.
494
- * Added : {xxx} ( e.g. {post_title} ) get post property from the now post if querystring setting does't set.
495
- * Added : Repeat submitting came to be blocked.
496
- * Bug fix : Fixed translation mistake in admin page.
497
- * Bug fix : Fixed selected file reset button bug on file field.
498
- * Bug fix : Fixed bug that not to work rightly when setting noempty validation in image or file field.
499
-
500
- = 1.5.6 =
501
- * Bug fix : Fix selected file reset button bug in Firefox.
502
- * Changed : Change file field's default size attribute.
503
-
504
- = 1.5.5 =
505
- * Added : Selected file reset button has been added.
506
-
507
- = 1.5.4 =
508
- * Bug fix : Fix spelling mistake in admin page.
509
- * Added : Convert full-pitch character to half character in text shortcode.
510
-
511
- = 1.5.3 =
512
- * Bug fix : Fixed a bug where <br> is added in textarea.
513
-
514
- = 1.5.2 =
515
- * Bug fix : Datapicker starting a new line.
516
-
517
- = 1.5.1 =
518
- * Bug fix : Fix wpautop bug.
519
-
520
- = 1.5.0 =
521
- * Deleted : Delete qtags.
522
- * Bug fix : Fix inquiery data are not saved when admin mail content is empty.
523
- * Bug fix : Fix bug that doesn't start a new line.
524
- * Added : Add filter_hook mwform_admin_mail_raw_mw-wp-form-xxx.
525
- * Added : Add filter_hook mwform_auto_mail_raw_mw-wp-form-xxx.
526
- * Deprecated: Deprecated mw_form_field::set_qtags()
527
-
528
- = 1.4.1 =
529
- * Changed : Change flow to read saving inquiry data.
530
- * Bug fix : Fix tel validation.
531
-
532
- = 1.4.0 =
533
- * Added : Add form tag generator.
534
-
535
- = 1.3.3 =
536
- * Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
537
- * Buf fix : Fix param $rule in mwform_error_message_html filter hook.
538
-
539
- = 1.3.2 =
540
- * Buf fix : Fix session has already started.
541
-
542
- = 1.3.1 =
543
- * Added : Support attribute id in text, textarea, radio, checkbox, select, datepicker, file, image, password shortcode.
544
- * Added : Support attribute placeholder in password shortcode.
545
- * Changed : Change admin page sentence.
546
-
547
- = 1.3.0 =
548
- * Added : 自動返信メール設定、管理者宛メール設定で本文の以外の項目にも{キー}を使用可能に
549
-
550
- = 1.2.7 =
551
- * Added : Support docx, xlsx, pptx upload.
552
- * Change : Change main process hook from get_header to template_include.
553
-
554
- = 1.2.6 =
555
- * Added : mwform_styles フィルターフック
556
-
557
- = 1.2.5 =
558
- * Added : 管理者宛メールの複数人送信をサポート
559
- * Added : mwform_error_message_html フィルターフック
560
- * Added : mwform_error_message_wrapper フィルターフック
561
- * Buf fix : DB保存データ一覧表示画面 Noticeエラー
562
-
563
- = 1.2.4 =
564
- * Bug fix : メールアドレスバリデーションのバグを修正
565
-
566
- = 1.2.3 =
567
- * Bug fix : ビジュアルエディタショートコードボタンがどの投稿タイプでもでてしまうバグを修正
568
-
569
- = 1.2.2 =
570
- * Added : ビジュアルエディタにショートコード挿入ボタンを追加
571
-
572
- = 1.2.1 =
573
- * Bug fix : 管理者宛メール本文入力欄のサイズ
574
- * Bug fix : WM_Form::zip, WM_Form::tel
575
- * Bug fix : MW_Validation::fileType, MW_Validation::fileSize
576
- * Bug fix : children が未指定でも mwform_choices フィルターフックの引数に空値が渡ってくるバグを修正
577
- * Change : jquery.ui.css のプロトコル指定、バージョンを変更
578
- * Change : データの持ち方を singleton に変更
579
- * Added : mwform_validation_xxx フィルターフックに引数を追加($data)
580
- * Added : DB登録データ一覧で画像・ファイルカラムの項目は編集画面にリンク
581
- * Added : URLバリデーション
582
-
583
- = 1.2.0 =
584
- * Added : 電話番号、郵便番号フィールドはデフォルトで全角 -> 半角置換
585
- * Added : mwform_error_message_識別子 フィルターフック追加
586
- * Added : ひらがな バリデーション項目を追加
587
- * Added : テンプレートでもショートコード [mwform_formkey] を実行可能に
588
- * Added : Support placeholder in input, textarea
589
- * Changed : MW_Form::previewPage() -> MW_Form::confirmPage()
590
- * Changed : [mwform_submitButton preview_value=""] -> [mwform_submitButton confirm_value=""]
591
- * Changed : [mwform preview=""] -> [mwform confirm=""]
592
- * Changed : [mwform_previewButton] -> [mwform_confirmButton]
593
- * Changed : URL引数を有効にする の場合のみURL引数が利用されるように変更(URL設定で利用されているものは除く)
594
- * Bug fix : 入力画面にpostしたときにhiddenフィールドの値がリセットされる(引き継がれない)バグを修正
595
-
596
- = 1.1.5 =
597
- * Bug fix : $MW_Mail->createBody()のバグ修正
598
-
599
- = 1.1.4 =
600
- * Changed : 設定を読み込むため際、無駄な do_shortcode() が行われないように修正
601
- * Bug fix : チェックボックスの値が送信されないバグ修正
602
-
603
- = 1.1.3 =
604
- * Deprecated: div.mw_wp_form_previewは次回のバージョンアップで削除予定(div.mw_wp_form_confirmに置換)
605
- * Deprecated: MW_Form::previewPage()は次回のバージョンアップで削除予定(MW_Form::confirmPage()に置換)
606
- * Deprecated: [mwform_submitButton]の引数preview_valueは次回のバージョンアップで削除予定(confirm_valueに置換)
607
- * Deprecated: [mwform]の引数previewは次回のバージョンアップで削除予定(confirmに置換)
608
- * Deprecated: [mwform_previewButton]は次回のバージョンアップで削除予定([mwform_confirmButton]に置換)
609
- * Changed : MW_Form::isPreview() -> MW_Form::isConfirm()
610
- * Changed : MW_Form::getPreviewButtonName() -> MW_Form::getConfirmButtonName()
611
- * Added : mwform_default_content フィルターフック
612
- * Added : mwform_default_postdata フィルターフック
613
-
614
- = 1.1.2 =
615
- * Cahged : セッションまわりの処理をリファクタリング
616
-
617
- = 1.1.1 =
618
- * Bug fix: ダウンロードしたCSVに全件表示されないバグを修正
619
-
620
- = 1.1.0 =
621
- * Added : mwform_value_識別子 フィルターフック追加
622
- * Added : mwform_hidden の引数 echo を追加( true or false )
623
- * Added : カタカナ バリデーション項目を追加
624
- * Cahged : 管理画面メニュー表示、設定保存の権限を変更(edit_pagesに統一)
625
- * Bug fix: 複数のMIMEタイプをとりえる拡張子を持つファイルのアップロードに対応(avi、mp3、mpg)
626
-
627
- = 1.0.4 =
628
- * Bug fix: 画像以外の添付ファイルがカスタムフィールドに表示されないバグを修正
629
- * Bug fix: 動画アップロード時にFatal Errorがでるバグを修正
630
-
631
- = 1.0.3 =
632
- * Added : 管理画面に Donate link を追加
633
-
634
- = 1.0.2 =
635
- * Bug fix: シングルページのみ実行可能に変更(検索結果ページ等でリダイレクトしてしまうため)
636
- * Bug fix: URL引数有効 + 同一URL時にリダイレクトループが発生してしまうバグを修正
637
-
638
- = 1.0.1 =
639
- * Bug fix: DBに保存しないときに添付ファイルが送られてこない
640
-
641
- = 1.0.0 =
642
- * Added : Donate link を追加
643
- * Added : DB保存データにメモ欄追加
644
- * Cahged : ファイルアップロード用のディレクトリにアップロードするように変更専用
645
- * Cahged : 拡張子が偽造されたファイルの場合はアップロードしない(php5.3.0以上)
646
- * Cahged : 表示ページのURLに引数が付いている場合でも管理画面で設定したURLにリダイレクトしてしまわないように変更
647
- * Bug fix: 通常バリデーションは配列が来ることを想定していなかったため修正
648
-
649
- = 0.9.11 =
650
- * Bug fix: 添付ファイルが複数あり、かつDB保存の場合、管理画面で最後の画像しか表示されないバグを修正
651
- * Cahged : どのフィールドが画像かを示すメタデータの保存形式を配列に変更
652
- * Cahged : mw_form_field::inputPage、mw_form_field::previewPage の引数削除
653
-
654
- = 0.9.10 =
655
- * Bug fix: mwform_admin_mail_識別子、mwform_auto_mail_識別子フィルターフックの定義位置が逆だったのを修正
656
- * Bug fix: 添付ファイルが添付されないバグを修正(From Ver0.9.4)
657
- * Bug fix: Akismet Email、Akismet URL の設定が正しく行えなかったのを修正
658
- * Cahged : フォーム送信時は $_POST を WP Query に含めない
659
-
660
- = 0.9.9 =
661
- * Added : mwform_csv_button_識別子 フィルターフック
662
- * Bug fix: name属性が未指定のとき、MW_Form::getZipValue, MW_Form::getCheckedValue でエラーがでるバグ修正
663
-
664
- = 0.9.8 =
665
- * Added : 管理者用・自動返信用メール設定それぞれに 送信元メールアドレス・送信者名の設定を追加
666
- * Added : mwform_admin_mail_識別子 フィルターフック追加
667
- * Added : mwform_auto_mail_識別子 フィルターフック追加
668
- * Deleted: mwform_admin_mail_from_識別子 フィルターフック
669
- * Deleted: mwform_admin_mail_sender_識別子 フィルターフック
670
- * Deleted: mwform_auto_mail_from_識別子 フィルターフック
671
- * Deleted: mwform_auto_mail_sender_識別子 フィルターフック
672
-
673
- = 0.9.7 =
674
- * Bug fix: CSVダウンロードのバグ修正
675
-
676
- = 0.9.6 =
677
- * Bug fix: 電話番号のバリデーションチェックを修正
678
- * Added : CSVダウンロード機能追加
679
- * Added : mwform_admin_mail_from_識別子 フック追加
680
- * Added : mwform_admin_mail_sender_識別子 フック追加
681
- * Added : mwform_auto_mail_from_識別子 フック追加
682
- * Added : mwform_auto_mail_sender_識別子 フック追加
683
-
684
- = 0.9.5 =
685
- * Added : バリデーションエラー時に遷移するURLを設定可能に
686
- * Cahged : 送信メールの Return-Path に「管理者宛メール設定の送信先」が利用されるように変更
687
- * Cahged : {投稿情報}、{ユーザー情報}の値がない場合は空値が返るように変更
688
- * Cahged : 設定済みのバリデーションルールは閉じた状態で表示されるように変更
689
- * Cahged : Mail::createBody の挙動を変更(送信された値がnullの場合はキーも値も出力しない)
690
- * Bug fix: Mail::createBody で Checkbox が未チェックで送信されたときに Array と出力されてしまうバグを修正
691
-
692
- = 0.9.4 =
693
- * Bug fix: 管理画面での 確認ボタン の表記間違いを修正
694
-
695
- = 0.9.3 =
696
- * Added : readme.txt にマニュアルのURLを追記
697
- * Bug fix: 確認ボタン 挿入ボタンが表示されていなかったのを修正
698
- * Bug fix: 末尾に / のつかない URL の場合に画面変遷が正しく行われないバグを修正
699
-
700
- = 0.9.2 =
701
- * Bug fix: ファイルの読み込みタイミング等を変更
702
-
703
- = 0.9.1 =
704
- * Bug fix: 画像・ファイルアップロードフィールドのクラス名が正しく設定されていないのを修正
705
- * Bug fix: 画像・ファイルアップロードフィールドで未アップロード時でも確認画面に項目が表示されてしまうのを修正
706
- * Cahged : 言語ファイルの読み込みタイミングを変更
707
-
708
- = 0.9 =
709
- * Added : Akismet設定を追加
710
-
711
- = 0.8.1 =
712
- * Cahged : functions.php を用いたフォーム作成は非推奨・サポート、メンテナンス停止
713
- * Added : チェックボックスで区切り文字の設定機能を追加
714
- [mwform_checkbox name="checkbox" children="A,B,C" separator="、"]
715
-
716
- = 0.8 =
717
- * Added : 画像アップロードフィールドを追加
718
- * Added : ファイルアップロードフィールドを追加
719
- * Added : ファイルタイプ バリデーション項目を追加
720
- * Added : ファイルサイズ バリデーション項目を追加
721
- * Added : 管理画面で不正な値は save しないように修正
722
- * Added : datepickerで年月をセレクトボックスで選択できる設定をデフォルトに
723
- * Added : アクションフック mwform_add_shortcode, mwform_add_qtags 追加
724
- * Bug fix: バリデーション項目 文字数の範囲, 最小文字数 の挙動を修正
725
- * Cahged : フォーム制作画面でビジュアルエディタを使えるように変更
726
-
727
- = 0.7.1 =
728
- * Added : メール設定を 自動返信メール設定 と 管理者宛メール設定 に分割
729
- * Note : データベースには 管理者宛メール設定 のデータが保存される
730
- * Note : 管理者宛メール設定 が空の場合は 自動返信メール設定 が使用される
731
-
732
- = 0.7 =
733
- * Added : 問い合わせデータをデータベースに保存する機能を追加
734
- * Added : アンインストール時にデータを削除するように修正
735
- * Bug fix: 一覧画面で QTags の JSエラーがでていたのを修正
736
-
737
- = 0.6.4 =
738
- * Added : 引数を有効にする meta_box を追加
739
- * Bug fix: "Zip Code" が日本語化されていないバグを修正
740
- * Bug fix: ページリダイレクトのURL判定を変更
741
- * Bug fix: バリデーション mail に複数のメールアドレスを指定できないように変更
742
-
743
- = 0.6.3 =
744
- * Bug fix: 管理画面のURL設定で http から入れないとメールが二重送信されてしまうバグを修正
745
- * Bug fix: フォーム識別子部分が Firefox でコピペできないバグを修正
746
-
747
- = 0.6.2 =
748
- * Bug fix: Infinite loop when WordPress not root installed.
749
-
750
- = 0.6.1 =
751
- * Added To E-mail adress settings.
752
-
753
- = 0.6 =
754
- * Added settings page.
755
- * Deprecated: acton hook mwform_mail_{$key}. This hook is removed when next version up.
756
- * Added filter hook mwform_mail_{$key}.
757
- * Bug fix: Validations.
758
-
759
- = 0.5.5 =
760
- * Added tag to show login user meta.
761
- {user_id}, {user_login}, {user_email}, {user_url}, {user_registered}, {display_name}
762
-
763
- = 0.5 =
764
- * Initial release.
1
+ === MW WP Form ===
2
+ Contributors: inc2734, ryu263, tomothumb, nanniku, mt8.biz, NExt-Season, kuck1u, mypacecreator, mh35, grace-create
3
+ 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.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
  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.
12
+
13
+ == Description ==
14
+
15
+ MW WP Form can create mail form with a confirmation screen using shortcode.
16
+
17
+ * Form created using shortcodes
18
+ * Using confirmation page is possible.
19
+ * The page changes by the same URL or individual URL are possible.
20
+ * Many validation rules
21
  * Saving inquiry data is possible.
22
  * Displaying Chart using saved inquiry data is possible.
23
+
24
+ = Official =
25
+
26
  https://plugins.2inc.org/mw-wp-form/
27
+
28
+ = GitHub =
29
+
30
+ https://github.com/inc2734/mw-wp-form
31
+
32
+ = The following third-party resources =
33
+
34
+ Google Charts
35
+ Source: https://developers.google.com/chart/
36
+
37
+ = Contributors =
38
+
39
  * [Takashi Kitajima](https://2inc.org) ( [inc2734](https://profiles.wordpress.org/inc2734) )
40
+ * [Ryujiro Yamamoto](https://webcre-archive.com) ( [ryu263](https://profiles.wordpress.org/ryu263) )
41
+ * [Tsujimoto Tomoyuki](http://kee-non.com) ( [tomothumb](https://profiles.wordpress.org/tomothumb) )
42
+ * [Naoyuki Ohata] ( [nanniku](https://profiles.wordpress.org/nanniku) )
43
+ * [Kazuto Takeshita](https://mt8.biz/) ( [moto hachi](https://profiles.wordpress.org/mt8biz/) )
44
+ * [Atsushi Ando](https://www.next-season.net/) ( [NExt-Season](https://profiles.wordpress.org/next-season/) )
45
+ * [Kazuki Tomiyasu](https://visualive.jp/) ( [KUCKLU](https://profiles.wordpress.org/kuck1u/) )
46
+ * [Kei Nomura](https://mypacecreator.net/) ( [mypacecreator](https://profiles.wordpress.org/mypacecreator/) )
47
+ * [mh35](https://profiles.wordpress.org/mh35)
48
  * [Takashi Nojima](https://github.com/nojimage)
49
  * [herikutu](https://github.com/herikutu)
50
+ * [tsucharoku](https://github.com/tsucharoku)
51
+
52
+ == Installation ==
53
+
54
+ 1. Upload `MW WP Form` to the `/wp-content/plugins/` directory
55
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
56
+ 1. You can create a form by settings page.
57
+
58
+ == Frequently Asked Questions ==
59
+
60
+ Do you have questions or issues with MW WP Form? Use these support channels appropriately.
61
+
62
+ 1. [Official](https://plugins.2inc.org/mw-wp-form/)
63
+ 1. [Support Forum](https://wordpress.org/support/plugin/mw-wp-form)
64
+
65
+ == Screenshots ==
66
+
67
+ 1. Form creation page.
68
+ 2. Form item create box. You can easily insert the form.
69
+ 3. Supports saving inquiry data to database.
70
+ 4. List page of inquiry data that has been saved.
71
+ 5. Supports chart display of saved inquiry data.
72
+
73
  == Changelog ==
74
 
75
+ = 4.1.0 =
76
+ * Add filter hook mwform_csv_columns-mwf_xxx
77
+ * Fixed the bug that "MW WP Form dosen't support" mwform_after_exec_shortcode "already." is output to the error log even though it is not hooked.
78
+ * Changed to save destination admin email address in inquiry data.
79
+ * Fixed a bug that notice occurs when changing the response status of inquiry data.
80
+
81
  = 4.0.6 =
82
  * Fixed a bug that line feed was not applied to the form that using the block editor.
83
 
185
 
186
  = 2.8.3 =
187
  * Added : Added the upload failure of the error message in filesize validation.
188
+
189
+ = 2.8.2 =
190
+ * Bugfix : Fixed a json parser bug.
191
+
192
+ = 2.8.1 =
193
+ * Added : Added MinImageSize validation.
194
+ * Added : Added MaxImageSize validation.
195
+ * Bugfix : Fixed a set_upload_file_keys bug and rename to regenerate_upload_file_keys.
196
+
197
+ = 2.8.0 =
198
+ * Added : Support slug attribute. e.g. [mwform_formkey slug="form_slug"]
199
+ * Added : Added filter hook mwform_inquiry_data_columns-mwf_xxx
200
+ * Added : Added filter hook mwform_upload_file_keys_mw-wp-form-xxx
201
+ * Added : Added args of filter hook mwform_upload_dir_mw-wp-form-xxx and mwform_upload_filename_mw-wp-form-xxx
202
+ * Added : Added the Custom Mail Tag field. This field display value of mwform_custom_mail_tag_mw-wp-form-xxx.
203
+ * Bugfix : docx, xlsx, pptx upload bug fixed.
204
+ * Bugfix : Fixed a bug that the extension isn't added when using filter hook mwform_upload_filename_mw-wp-form-xxx.
205
+ * Changed : Sending the file url when saving in database and input {file key} and {image key} in the mail.
206
+ * Changed : Check of the js attribute of datepicker is now strictly. Property MUST be enclosed in double quotes.
207
+ * Changed : Changed the form token name.
208
+
209
+ = 2.7.0 =
210
+ * Added : Added Method MW_WP_Form_Mail_Parser::get_saved_mail_id()
211
+ * Added : Added Method MW_WP_Form_Mail::get_saved_mail_id()
212
+ * Added : Added filter hook mwform_upload_dir_mw-wp-form-xxx
213
+ * Added : Added filter hook mwform_upload_filename_mw-wp-form-xxx
214
+ * Added : Added filter hook mwform_no_save_keys_mw-wp-form-xxx
215
+ * Changed : Changed to save the default values of contact data meta data at the time of email saved.
216
+ * Bugfix : Fixed a bug that e-mail is not sent when the "from" is in violation of the RFC.
217
+
218
+ = 2.6.4 =
219
+ * Added : Add filter hook mwform_content_wpautop_mw-wp-form-xxx
220
+ * Added : Add argument at mwform_after_send_mw-wp-form-xxx
221
+ * Added : Add method MW_WP_Form_Data::get_form_key()
222
+
223
+ = 2.6.3 =
224
+ * Bugfix : Fixed a eq validation bug.
225
+
226
+ = 2.6.2 =
227
+ * Bugfix : Fixed a bug that class attribute can't set at radio.
228
+ * Bugfix : Fixed a bug that id and class attribute can't set at file.
229
+
230
+ = 2.6.1 =
231
+ * Changed : Removed for the Generator code.
232
+ * Bugfix : Fixed a bug that mwform_default_settings doesn't fired.
233
+
234
+ = 2.6.0 =
235
+ * Bugfix : JavaScript bug fix on validation.
236
+ * Changed : Multilingual support. Changed domain.
237
+ * Changed : Changed radio and checkbox style.
238
+ * Added : Added the class attribute setting.
239
+
240
+ = 2.5.3 =
241
+ * Added : Japanese zip code validation allows the format of the form 0000000.
242
+ * Bugfix : Fixed a date validation bug.
243
+
244
+ = 2.5.2 =
245
+ * Added : Add new validation rule japanese kana.
246
+ * Added : Add action hook mwform_before_send_admin_mail_mw-wp-form-xxx.
247
+ * Added : Add action hook mwform_before_send_reply_mail_mw-wp-form-xxx.
248
+ * Added : Add action hook mwform_after_send_mw-wp-form-xxx.
249
+ * Added : Add action hook mwform_enqueue_scripts_mw-wp-form-xxx.
250
+
251
+ = 2.5.1 =
252
+ * Update readme.txt
253
+
254
+ = 2.5.0 =
255
+ * Added : Add html5 email field.
256
+ * Added : Add html5 url field.
257
+ * Added : Add html5 range field.
258
+ * Added : Add html5 number field.
259
+ * Added : Support attribute placeholder in datepicker.
260
+ * Changed : maxlength default value is null.
261
+ * Bugfix : Fixed a bug that is CC and BCC have been overlapping sent when To is multiple.
262
+
263
+ = 2.4.12 =
264
+ * Bugfix : filter hook 'mwform_value_mwf_xxx' does not work when to use radio or checkboxes.
265
+ * Changed : Changed checkbox default separator ', ' to ','.
266
+
267
+ = 2.4.11 =
268
+ * Bugfix : Fixed a bug that attachment file does not displayed in contact data list page.
269
+ * Changed : Trim email address on inputs.
270
+
271
+ = 2.4.10 =
272
+ * Bugfix : Fixed a bug that does not scroll when you return to the input screen.
273
+
274
+ = 2.4.9 =
275
+ * Bugfix : Fixes a bug that the value of last checkbox is only posted when multiple same name checkboxes created and those post_raw is true.
276
+
277
+ = 2.4.8 =
278
+ * Changed : Change the value to save even null when you save the contact data.
279
+ * Changed : Default value of radio and checkbox is null.
280
+
281
+ = 2.4.7 =
282
+ * Bugfix : Fixed a bug the custom_mail_tag from To, CC and BCC.
283
+
284
+ = 2.4.6 =
285
+ * Changed : The custom_mail_tag filter hook applied to To, CC and BCC.
286
+ * Changed : Full size image is displayed when you click the thumbnail of the attached image in saving contact data list.
287
+
288
+ = 2.4.5 =
289
+ * Refactoring MW_WP_Form_Data Class.
290
+ * Added : Add MW_WP_Form_Mail_Parse class.
291
+ * Added : Add Tracking Number setting field.
292
+ * Added : Sender and From are written to the debug log.
293
+ * Bugfix : Fixed a bug that sometimes icon is not displayed in contact data list.
294
+
295
+ = 2.4.4 =
296
+ * Bugfix : Fixed a conv_half_alphanumeric attribute bug.
297
+
298
+ = 2.4.3 =
299
+ * Changed : Changed visibility of MW_WP_Form_Validation::set_rule() protected to public.
300
+
301
+ = 2.4.2 =
302
+ * Bugfix : Fixed a hidden field bug.
303
+
304
+ = 2.4.1 =
305
+ * Bugfix : Fixed a mwform_csv_encoding-mwf_xxx bug.
306
+
307
+ = 2.4.0 =
308
+ * Refactoring
309
+ * Added : Add filter hook mwform_csv_encoding-mwf_xxx.
310
+ * Deleted : Delete some Deprecated hooks, methods.
311
+ * Bugfix : Fixed a csv bug.
312
+ * Deprecated: MW_WP_Form_Form::get_raw()
313
+ * Deprecated: MW_WP_Form_Form::get_raw_in_children()
314
+ * Deprecated: MW_WP_Form_Form::get_zip_value()
315
+ * Deprecated: MW_WP_Form_Form::get_tel_value()
316
+ * Deprecated: MW_WP_Form_Form::get_checked_value()
317
+ * Deprecated: MW_WP_Form_Form::get_radio_value()
318
+ * Deprecated: MW_WP_Form_Form::get_selected_value()
319
+ * Deprecated: MW_WP_Form_Form::get_separated_raw_value()
320
+ * Deprecated: MW_WP_Form_Form::get_separator_value()
321
+
322
+ = 2.3.5 =
323
+ * Bugfix : Fixed a post_raw bug at select and radio.
324
+
325
+ = 2.3.4 =
326
+ * Bugfix : Fixed a bug that checkboxes are checked when children are added by hook.
327
+
328
+ = 2.3.3 =
329
+ * Bugfix : Fixed a bug that tracking number does not count up.
330
+
331
+ = 2.3.2 =
332
+ * Bugfix : Fixed a bug that form does not display when is surrounded by enclosed type shortcode.
333
+ * Changed : Update tests.
334
+
335
+ = 2.3.1 =
336
+ * Bugfix : Fixed a post_raw option bug.
337
+
338
+ = 2.3.0 =
339
+ * Refactoring mail sending part.
340
+ * Added : Add "Send value by e-mail" option for checkbox, select, radio.
341
+ * Added : Add filter hook mwform_custom_mail_tag_mw-wp-form-xxx.
342
+ * Added : Add filter hook mwform_contact_data_post_type.
343
+ * Added : Add filter hook mwform_get_inquiry_data_args-mwf_xxx
344
+ * Added : Add debug mode. no send mail and logging when set "define( 'MWFORM_DEBUG', true );".
345
+ * Added : Add filter hook mwform_log_directory.
346
+ * Changed : Refactoring admin pages.
347
+ * Changed : Changed generating method of file name that uploaded.
348
+ * Bugfix : Fixed ai, psd, eps file upload bug.
349
+ * Bugfix : Fix typo.
350
+
351
+ = 2.2.7 =
352
+ * Changed : Changed to be able to use ":" as value at checkbox, select, radio.
353
+
354
+ = 2.2.6 =
355
+ * Added : Adding MW_WP_Form_Data object to augment of mail related hooks.
356
+ * Added : Adding MW_WP_Form_Data object to augment of mwform_validation hook.
357
+ * Bug fix : Fixed a bug that post_title is not parsed when contact data saving in database.
358
+ * Bug fix : Fixed a bug that post value is sent and saved when children attribute separate at post value and display value.
359
+
360
+ = 2.2.5 =
361
+ * Bug fix : Fixed a checkbox bug.
362
+
363
+ = 2.2.4 =
364
+ * Added : Added sortable handle in validation settings and chart settings.
365
+ * Bug fix : Fixed a children attribute bug.
366
+ * Bug fix : Fixed a bug that also "contact data" menu is displayed when there is no form that has been set contact data saving.
367
+
368
+ = 2.2.3 =
369
+ * Bug fix : Fixed a bug that exec shortcode are not converted when use template.
370
+
371
+ = 2.2.2 =
372
+ * Bug fix : Fixed a tel validation bug.
373
+ * Bug fix : Fixed a zip validation bug.
374
+ * Bug fix : Fixed a in validation bug.
375
+
376
+ = 2.2.1 =
377
+ * Bug fix : Fixed a bug that remove_query_vars_from_post() is not executed.
378
+ * Bug fix : Fixed a akismet feature bug.
379
+ * Bug fix : Fixed a uninstall bug.
380
+
381
+ = 2.2.0 =
382
+ * Refactoring
383
+ * Bug fix : Fixed a mwform_tracking_number_title filter hook bug.
384
+ * Bug fix : Fixed a bug that can not set the more than 2 default values of the checkbox.
385
+ * Bug fix : Fixed a bug that double quotation of shortcodes are escaped in manual form.
386
+ * Changed : Class name changed MW_Form_Field to MW_WP_Form_Abstract_Form_Field.
387
+ * Changed : Class name changed MW_Validation_Rule to MW_WP_Form_Abstract_Validation_Rule.
388
+ * Changed : Zip or Tel validation can use Japanese only.
389
+ * Changed : Zip or Tel field can use Japanese only.
390
+ * Added : You can set a different value in the key and display value for children of checkbox, select, radio. For xample, [mwform_checkbox name="hoge" children="key1:value1,key2:value2"]
391
+
392
+ = 2.1.4 =
393
+ * Bug fix : Fixed a bug that data lost when there are multiple same name radio buttons and checkboxes.
394
+
395
+ = 2.1.3 =
396
+ * Bug fix : Fixed a bug that number of newline characters are different by the environment.
397
+ * Changed : Modified to ignore uppercase letters of lowercase letters at the file type validation.
398
+
399
+ = 2.1.2 =
400
+ * Added : Added form key in list of MW WP Form page.
401
+ * Bug fix : Fixed a bug that "add form tag button" is displayed in complete message area.
402
+
403
+ = 2.1.1 =
404
+ * Added : Added CSV Download option.
405
+ * Added : Added an option to vertically display in Radio and Checkbox.
406
+ * Changed : Optimization of the number display processing of saving contact data.
407
+ * Changed : Change separator of checkbox in confirm page.
408
+
409
+ = 2.1.0 =
410
+ * Added : Add filter_hook mwform_post_content_raw_mw-wp-form-xxx.
411
+ * Added : Add filter_hook mwform_post_content_mw-wp-form-xxx.
412
+ * Added : Add filter_hook mwform_form_fields.
413
+ * Added : Add "Error" form type.
414
+ * Changed : MW_Form_Field::mwform_tag_generator_dialog() method needs $options argument.
415
+ * Changed : Zip code field and Tel field are wrapped by span tag.
416
+ * Bug fix : Empty separator is changed to not allow in checkbox field.
417
+ * Bug fix : Fix add form tag button css bug.
418
+
419
+ = 2.0.0 =
420
+ * Added : Add scrolling of screen transition setting.
421
+ * Added : Add filter_hook mwform_scroll_offset_mw-wp-form-xxx.
422
+ * Added : Support auto tracking number.
423
+ * Added : Add filter_hook mwform_tracking_number_title_mw-wp-form-xxx.
424
+
425
+ = 1.9.4 =
426
+ * Bug fix : Fix HTML structures.
427
+ * Bug fix : Fix bug that does not display image of image field in SSL.
428
+ * Bug fix : Fix bug that does not display link of file field in SSL.
429
+
430
+ = 1.9.3 =
431
+ * Bug fix : Fix bug that would be escaped in double.
432
+ * Bug fix : Fix uninstall process.
433
+
434
+ = 1.9.2 =
435
+ * Bug fix : Fix comment in mwform_confirmButton dialogbox.
436
+ * Bug fix : Fix bug in stacking order of the dialog in WordPress 4.0.
437
+
438
+ = 1.9.1 =
439
+ * Changed : Easy to see change the form tag insertion selectbox.
440
+ * Deleted : Delete size attribute in file or image field.
441
+ * Bug fix : Fix bug that there are cases where the page chache does not disabled on Nginx.
442
+
443
+ = 1.9.0 =
444
+ * Added : Add chart function.
445
+ * Added : Add separator attribute in checkbox tag generator.
446
+ * Bug fix : Fix bug that can not change display option in saving contact data list page.
447
+ * Bug fix : Fix bug that display wrong number of inquiries.
448
+
449
+ = 1.8.4 =
450
+ * Bug fix : Fix bug that can not be set maxlength in mwform_text shortcode.
451
+
452
+ = 1.8.3 =
453
+ * Bug fix : Fix bug that file is not uploaded when validation is not set in the file field.
454
+
455
+ = 1.8.2 =
456
+ * Bug fix : Fix bug that PHP error is displayed in file type validation.
457
+ * Bug fix : Fix bug that PHP error is displayed in admin page.
458
+ * Changed : Change to upload file even if there is a validation error in other fields.
459
+ * Changed : Change to display by scrolling when width of list of stored data is wide.
460
+
461
+ = 1.8.1 =
462
+ * Bug fix : Fix PHP error under PHP 5.3.0
463
+ * Bug fix : Fix bug that are not validated of noEmpty in zip and tel field.
464
+ * Bug fix : Fix bug that error is displayed if the validation that was registered is disabled.
465
+
466
+ = 1.8.0 =
467
+ * Added : Add mwform_validation_rules filter hook.
468
+ * Added : Add API to get the data for mail.
469
+ * Added : Add setting of response status in saved contact data.
470
+ * Added : Add response status and memo in csv.
471
+ * Added : Add returning link from detail of database saving data to list page.
472
+ * Changed : Form field is empty if seted null in value of shortcode.
473
+ * Changed : WordPress 3.7 higher is required.
474
+
475
+ = 1.7.2 =
476
+ * Bug fix : XSS vulnerability fix.
477
+
478
+ = 1.7.1 =
479
+ * Bug fix : Fixed a bug that MW WP Form's shortcodes doesn't parse in the nested shortcode.
480
+
481
+ = 1.7.0 =
482
+ * Added : X-Accel-Expires param in header.
483
+ * Added : Add CC setting in admin mail setting.
484
+ * Added : Add BCC setting in admin mail setting.
485
+ * Changed : Data store has been changed to Transient API from PHP SESSION.
486
+ * Changed : Nonce check system has been changed to WordPress nonce check system from original.
487
+ * Changed : Accept space in katakana validation.
488
+ * Changed : Accept space in hiragana validation.
489
+ * Changed : The way of isplaying attached files has been changed to URL from ID in csv file.
490
+ * Changed : Require WordPress Version 3.5
491
+ * Bug fix : Fixed a bug that sender not set at email when {sender} and {e-mail} in mail settings were conversion blank.
492
+
493
+ = 1.6.1 =
494
+ * Bug fix : Support Akismet 3.0.0
495
+ * Changed : Support psd, ai, eps file upload.
496
+
497
+ = 1.6.0 =
498
+ * Changed : Changed Redirection flow.
499
+ * Changed : If querystring setting is set and doesn't get post from querystring, return empty.
500
+ * Changed : When a URL doesn't begin http or https in URL settings, home_url() is complemented.
501
+ * Added : {xxx} ( e.g. {post_title} ) get post property from the now post if querystring setting does't set.
502
+ * Added : Repeat submitting came to be blocked.
503
+ * Bug fix : Fixed translation mistake in admin page.
504
+ * Bug fix : Fixed selected file reset button bug on file field.
505
+ * Bug fix : Fixed bug that not to work rightly when setting noempty validation in image or file field.
506
+
507
+ = 1.5.6 =
508
+ * Bug fix : Fix selected file reset button bug in Firefox.
509
+ * Changed : Change file field's default size attribute.
510
+
511
+ = 1.5.5 =
512
+ * Added : Selected file reset button has been added.
513
+
514
+ = 1.5.4 =
515
+ * Bug fix : Fix spelling mistake in admin page.
516
+ * Added : Convert full-pitch character to half character in text shortcode.
517
+
518
+ = 1.5.3 =
519
+ * Bug fix : Fixed a bug where <br> is added in textarea.
520
+
521
+ = 1.5.2 =
522
+ * Bug fix : Datapicker starting a new line.
523
+
524
+ = 1.5.1 =
525
+ * Bug fix : Fix wpautop bug.
526
+
527
+ = 1.5.0 =
528
+ * Deleted : Delete qtags.
529
+ * Bug fix : Fix inquiery data are not saved when admin mail content is empty.
530
+ * Bug fix : Fix bug that doesn't start a new line.
531
+ * Added : Add filter_hook mwform_admin_mail_raw_mw-wp-form-xxx.
532
+ * Added : Add filter_hook mwform_auto_mail_raw_mw-wp-form-xxx.
533
+ * Deprecated: Deprecated mw_form_field::set_qtags()
534
+
535
+ = 1.4.1 =
536
+ * Changed : Change flow to read saving inquiry data.
537
+ * Bug fix : Fix tel validation.
538
+
539
+ = 1.4.0 =
540
+ * Added : Add form tag generator.
541
+
542
+ = 1.3.3 =
543
+ * Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
544
+ * Buf fix : Fix param $rule in mwform_error_message_html filter hook.
545
+
546
+ = 1.3.2 =
547
+ * Buf fix : Fix session has already started.
548
+
549
+ = 1.3.1 =
550
+ * Added : Support attribute id in text, textarea, radio, checkbox, select, datepicker, file, image, password shortcode.
551
+ * Added : Support attribute placeholder in password shortcode.
552
+ * Changed : Change admin page sentence.
553
+
554
+ = 1.3.0 =
555
+ * Added : 自動返信メール設定、管理者宛メール設定で本文の以外の項目にも{キー}を使用可能に
556
+
557
+ = 1.2.7 =
558
+ * Added : Support docx, xlsx, pptx upload.
559
+ * Change : Change main process hook from get_header to template_include.
560
+
561
+ = 1.2.6 =
562
+ * Added : mwform_styles フィルターフック
563
+
564
+ = 1.2.5 =
565
+ * Added : 管理者宛メールの複数人送信をサポート
566
+ * Added : mwform_error_message_html フィルターフック
567
+ * Added : mwform_error_message_wrapper フィルターフック
568
+ * Buf fix : DB保存データ一覧表示画面 Noticeエラー
569
+
570
+ = 1.2.4 =
571
+ * Bug fix : メールアドレスバリデーションのバグを修正
572
+
573
+ = 1.2.3 =
574
+ * Bug fix : ビジュアルエディタショートコードボタンがどの投稿タイプでもでてしまうバグを修正
575
+
576
+ = 1.2.2 =
577
+ * Added : ビジュアルエディタにショートコード挿入ボタンを追加
578
+
579
+ = 1.2.1 =
580
+ * Bug fix : 管理者宛メール本文入力欄のサイズ
581
+ * Bug fix : WM_Form::zip, WM_Form::tel
582
+ * Bug fix : MW_Validation::fileType, MW_Validation::fileSize
583
+ * Bug fix : children が未指定でも mwform_choices フィルターフックの引数に空値が渡ってくるバグを修正
584
+ * Change : jquery.ui.css のプロトコル指定、バージョンを変更
585
+ * Change : データの持ち方を singleton に変更
586
+ * Added : mwform_validation_xxx フィルターフックに引数を追加($data)
587
+ * Added : DB登録データ一覧で画像・ファイルカラムの項目は編集画面にリンク
588
+ * Added : URLバリデーション
589
+
590
+ = 1.2.0 =
591
+ * Added : 電話番号、郵便番号フィールドはデフォルトで全角 -> 半角置換
592
+ * Added : mwform_error_message_識別子 フィルターフック追加
593
+ * Added : ひらがな バリデーション項目を追加
594
+ * Added : テンプレートでもショートコード [mwform_formkey] を実行可能に
595
+ * Added : Support placeholder in input, textarea
596
+ * Changed : MW_Form::previewPage() -> MW_Form::confirmPage()
597
+ * Changed : [mwform_submitButton preview_value=""] -> [mwform_submitButton confirm_value=""]
598
+ * Changed : [mwform preview=""] -> [mwform confirm=""]
599
+ * Changed : [mwform_previewButton] -> [mwform_confirmButton]
600
+ * Changed : URL引数を有効にする の場合のみURL引数が利用されるように変更(URL設定で利用されているものは除く)
601
+ * Bug fix : 入力画面にpostしたときにhiddenフィールドの値がリセットされる(引き継がれない)バグを修正
602
+
603
+ = 1.1.5 =
604
+ * Bug fix : $MW_Mail->createBody()のバグ修正
605
+
606
+ = 1.1.4 =
607
+ * Changed : 設定を読み込むため際、無駄な do_shortcode() が行われないように修正
608
+ * Bug fix : チェックボックスの値が送信されないバグ修正
609
+
610
+ = 1.1.3 =
611
+ * Deprecated: div.mw_wp_form_previewは次回のバージョンアップで削除予定(div.mw_wp_form_confirmに置換)
612
+ * Deprecated: MW_Form::previewPage()は次回のバージョンアップで削除予定(MW_Form::confirmPage()に置換)
613
+ * Deprecated: [mwform_submitButton]の引数preview_valueは次回のバージョンアップで削除予定(confirm_valueに置換)
614
+ * Deprecated: [mwform]の引数previewは次回のバージョンアップで削除予定(confirmに置換)
615
+ * Deprecated: [mwform_previewButton]は次回のバージョンアップで削除予定([mwform_confirmButton]に置換)
616
+ * Changed : MW_Form::isPreview() -> MW_Form::isConfirm()
617
+ * Changed : MW_Form::getPreviewButtonName() -> MW_Form::getConfirmButtonName()
618
+ * Added : mwform_default_content フィルターフック
619
+ * Added : mwform_default_postdata フィルターフック
620
+
621
+ = 1.1.2 =
622
+ * Cahged : セッションまわりの処理をリファクタリング
623
+
624
+ = 1.1.1 =
625
+ * Bug fix: ダウンロードしたCSVに全件表示されないバグを修正
626
+
627
+ = 1.1.0 =
628
+ * Added : mwform_value_識別子 フィルターフック追加
629
+ * Added : mwform_hidden の引数 echo を追加( true or false )
630
+ * Added : カタカナ バリデーション項目を追加
631
+ * Cahged : 管理画面メニュー表示、設定保存の権限を変更(edit_pagesに統一)
632
+ * Bug fix: 複数のMIMEタイプをとりえる拡張子を持つファイルのアップロードに対応(avi、mp3、mpg)
633
+
634
+ = 1.0.4 =
635
+ * Bug fix: 画像以外の添付ファイルがカスタムフィールドに表示されないバグを修正
636
+ * Bug fix: 動画アップロード時にFatal Errorがでるバグを修正
637
+
638
+ = 1.0.3 =
639
+ * Added : 管理画面に Donate link を追加
640
+
641
+ = 1.0.2 =
642
+ * Bug fix: シングルページのみ実行可能に変更(検索結果ページ等でリダイレクトしてしまうため)
643
+ * Bug fix: URL引数有効 + 同一URL時にリダイレクトループが発生してしまうバグを修正
644
+
645
+ = 1.0.1 =
646
+ * Bug fix: DBに保存しないときに添付ファイルが送られてこない
647
+
648
+ = 1.0.0 =
649
+ * Added : Donate link を追加
650
+ * Added : DB保存データにメモ欄追加
651
+ * Cahged : ファイルアップロード用のディレクトリにアップロードするように変更専用
652
+ * Cahged : 拡張子が偽造されたファイルの場合はアップロードしない(php5.3.0以上)
653
+ * Cahged : 表示ページのURLに引数が付いている場合でも管理画面で設定したURLにリダイレクトしてしまわないように変更
654
+ * Bug fix: 通常バリデーションは配列が来ることを想定していなかったため修正
655
+
656
+ = 0.9.11 =
657
+ * Bug fix: 添付ファイルが複数あり、かつDB保存の場合、管理画面で最後の画像しか表示されないバグを修正
658
+ * Cahged : どのフィールドが画像かを示すメタデータの保存形式を配列に変更
659
+ * Cahged : mw_form_field::inputPage、mw_form_field::previewPage の引数削除
660
+
661
+ = 0.9.10 =
662
+ * Bug fix: mwform_admin_mail_識別子、mwform_auto_mail_識別子フィルターフックの定義位置が逆だったのを修正
663
+ * Bug fix: 添付ファイルが添付されないバグを修正(From Ver0.9.4)
664
+ * Bug fix: Akismet Email、Akismet URL の設定が正しく行えなかったのを修正
665
+ * Cahged : フォーム送信時は $_POST を WP Query に含めない
666
+
667
+ = 0.9.9 =
668
+ * Added : mwform_csv_button_識別子 フィルターフック
669
+ * Bug fix: name属性が未指定のとき、MW_Form::getZipValue, MW_Form::getCheckedValue でエラーがでるバグ修正
670
+
671
+ = 0.9.8 =
672
+ * Added : 管理者用・自動返信用メール設定それぞれに 送信元メールアドレス・送信者名の設定を追加
673
+ * Added : mwform_admin_mail_識別子 フィルターフック追加
674
+ * Added : mwform_auto_mail_識別子 フィルターフック追加
675
+ * Deleted: mwform_admin_mail_from_識別子 フィルターフック
676
+ * Deleted: mwform_admin_mail_sender_識別子 フィルターフック
677
+ * Deleted: mwform_auto_mail_from_識別子 フィルターフック
678
+ * Deleted: mwform_auto_mail_sender_識別子 フィルターフック
679
+
680
+ = 0.9.7 =
681
+ * Bug fix: CSVダウンロードのバグ修正
682
+
683
+ = 0.9.6 =
684
+ * Bug fix: 電話番号のバリデーションチェックを修正
685
+ * Added : CSVダウンロード機能追加
686
+ * Added : mwform_admin_mail_from_識別子 フック追加
687
+ * Added : mwform_admin_mail_sender_識別子 フック追加
688
+ * Added : mwform_auto_mail_from_識別子 フック追加
689
+ * Added : mwform_auto_mail_sender_識別子 フック追加
690
+
691
+ = 0.9.5 =
692
+ * Added : バリデーションエラー時に遷移するURLを設定可能に
693
+ * Cahged : 送信メールの Return-Path に「管理者宛メール設定の送信先」が利用されるように変更
694
+ * Cahged : {投稿情報}、{ユーザー情報}の値がない場合は空値が返るように変更
695
+ * Cahged : 設定済みのバリデーションルールは閉じた状態で表示されるように変更
696
+ * Cahged : Mail::createBody の挙動を変更(送信された値がnullの場合はキーも値も出力しない)
697
+ * Bug fix: Mail::createBody で Checkbox が未チェックで送信されたときに Array と出力されてしまうバグを修正
698
+
699
+ = 0.9.4 =
700
+ * Bug fix: 管理画面での 確認ボタン の表記間違いを修正
701
+
702
+ = 0.9.3 =
703
+ * Added : readme.txt にマニュアルのURLを追記
704
+ * Bug fix: 確認ボタン 挿入ボタンが表示されていなかったのを修正
705
+ * Bug fix: 末尾に / のつかない URL の場合に画面変遷が正しく行われないバグを修正
706
+
707
+ = 0.9.2 =
708
+ * Bug fix: ファイルの読み込みタイミング等を変更
709
+
710
+ = 0.9.1 =
711
+ * Bug fix: 画像・ファイルアップロードフィールドのクラス名が正しく設定されていないのを修正
712
+ * Bug fix: 画像・ファイルアップロードフィールドで未アップロード時でも確認画面に項目が表示されてしまうのを修正
713
+ * Cahged : 言語ファイルの読み込みタイミングを変更
714
+
715
+ = 0.9 =
716
+ * Added : Akismet設定を追加
717
+
718
+ = 0.8.1 =
719
+ * Cahged : functions.php を用いたフォーム作成は非推奨・サポート、メンテナンス停止
720
+ * Added : チェックボックスで区切り文字の設定機能を追加
721
+ [mwform_checkbox name="checkbox" children="A,B,C" separator="、"]
722
+
723
+ = 0.8 =
724
+ * Added : 画像アップロードフィールドを追加
725
+ * Added : ファイルアップロードフィールドを追加
726
+ * Added : ファイルタイプ バリデーション項目を追加
727
+ * Added : ファイルサイズ バリデーション項目を追加
728
+ * Added : 管理画面で不正な値は save しないように修正
729
+ * Added : datepickerで年月をセレクトボックスで選択できる設定をデフォルトに
730
+ * Added : アクションフック mwform_add_shortcode, mwform_add_qtags 追加
731
+ * Bug fix: バリデーション項目 文字数の範囲, 最小文字数 の挙動を修正
732
+ * Cahged : フォーム制作画面でビジュアルエディタを使えるように変更
733
+
734
+ = 0.7.1 =
735
+ * Added : メール設定を 自動返信メール設定 と 管理者宛メール設定 に分割
736
+ * Note : データベースには 管理者宛メール設定 のデータが保存される
737
+ * Note : 管理者宛メール設定 が空の場合は 自動返信メール設定 が使用される
738
+
739
+ = 0.7 =
740
+ * Added : 問い合わせデータをデータベースに保存する機能を追加
741
+ * Added : アンインストール時にデータを削除するように修正
742
+ * Bug fix: 一覧画面で QTags の JSエラーがでていたのを修正
743
+
744
+ = 0.6.4 =
745
+ * Added : 引数を有効にする meta_box を追加
746
+ * Bug fix: "Zip Code" が日本語化されていないバグを修正
747
+ * Bug fix: ページリダイレクトのURL判定を変更
748
+ * Bug fix: バリデーション mail に複数のメールアドレスを指定できないように変更
749
+
750
+ = 0.6.3 =
751
+ * Bug fix: 管理画面のURL設定で http から入れないとメールが二重送信されてしまうバグを修正
752
+ * Bug fix: フォーム識別子部分が Firefox でコピペできないバグを修正
753
+
754
+ = 0.6.2 =
755
+ * Bug fix: Infinite loop when WordPress not root installed.
756
+
757
+ = 0.6.1 =
758
+ * Added To E-mail adress settings.
759
+
760
+ = 0.6 =
761
+ * Added settings page.
762
+ * Deprecated: acton hook mwform_mail_{$key}. This hook is removed when next version up.
763
+ * Added filter hook mwform_mail_{$key}.
764
+ * Bug fix: Validations.
765
+
766
+ = 0.5.5 =
767
+ * Added tag to show login user meta.
768
+ {user_id}, {user_login}, {user_email}, {user_url}, {user_registered}, {display_name}
769
+
770
+ = 0.5 =
771
+ * Initial release.
templates/contact-data/detail.php CHANGED
@@ -46,6 +46,12 @@
46
  </tr>
47
  <?php endif; ?>
48
  <?php endforeach; ?>
 
 
 
 
 
 
49
  <tr>
50
  <th><?php esc_html_e( 'Response Status', 'mw-wp-form' ); ?></th>
51
  <td>
46
  </tr>
47
  <?php endif; ?>
48
  <?php endforeach; ?>
49
+ <tr>
50
+ <th><?php esc_html_e( 'Admin Mail To', 'mw-wp-form' ); ?></th>
51
+ <td>
52
+ <?php echo esc_html( $Contact_Data_Setting->get( 'admin_mail_to' ) ); ?>
53
+ </td>
54
+ </tr>
55
  <tr>
56
  <th><?php esc_html_e( 'Response Status', 'mw-wp-form' ); ?></th>
57
  <td>