MW WP Form - Version 1.9.3

Version Description

  • Bug fix : Fix bug that would be escaped in double.
  • Bug fix : Fix uninstall process.
Download this release

Release Info

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

Code changes from version 1.9.2 to 1.9.3

Files changed (2) hide show
  1. mw-wp-form.php +5 -6
  2. readme.txt +5 -1
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 can create mail form with a confirmation screen.
6
- * Version: 1.9.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: September 5, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2
@@ -201,14 +201,13 @@ class mw_wp_form {
201
  'post_type' => MWF_Config::NAME,
202
  'posts_per_page' => -1,
203
  ) );
204
- if ( empty( $forms ) ) return;
205
- $data_post_ids[] = array();
206
  foreach ( $forms as $form ) {
207
  $data_post_ids[] = $form->ID;
208
  wp_delete_post( $form->ID, true );
209
  }
210
 
211
- if ( empty( $data_post_ids ) ) return;
212
  foreach ( $data_post_ids as $data_post_id ) {
213
  delete_option( MWF_Config::NAME . '-chart-' . $data_post_id );
214
  $data_posts = get_posts( array(
@@ -327,7 +326,7 @@ class mw_wp_form {
327
  $this->Data = MW_WP_Form_Data::getInstance( $this->key );
328
  // $_POSTがあるときは$_POST
329
  if ( !empty( $_POST ) ) {
330
- $this->Data->setValues( $_POST );
331
  }
332
 
333
  // $_FILESがあるときは$this->dataに統合
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
+ * Version: 1.9.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: September 19, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2
201
  'post_type' => MWF_Config::NAME,
202
  'posts_per_page' => -1,
203
  ) );
204
+
205
+ $data_post_ids = array();
206
  foreach ( $forms as $form ) {
207
  $data_post_ids[] = $form->ID;
208
  wp_delete_post( $form->ID, true );
209
  }
210
 
 
211
  foreach ( $data_post_ids as $data_post_id ) {
212
  delete_option( MWF_Config::NAME . '-chart-' . $data_post_id );
213
  $data_posts = get_posts( array(
326
  $this->Data = MW_WP_Form_Data::getInstance( $this->key );
327
  // $_POSTがあるときは$_POST
328
  if ( !empty( $_POST ) ) {
329
+ $this->Data->setValues( stripslashes_deep( $_POST ) );
330
  }
331
 
332
  // $_FILESがあるときは$this->dataに統合
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
4
  Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph
5
  Requires at least: 3.7
6
  Tested up to: 4.0
7
- Stable tag: 1.9.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -67,6 +67,10 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
67
 
68
  == Changelog ==
69
 
 
 
 
 
70
  = 1.9.2 =
71
  * Bug fix : Fix comment in mwform_confirmButton dialogbox.
72
  * Bug fix : Fix bug in stacking order of the dialog in WordPress 4.0.
4
  Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph
5
  Requires at least: 3.7
6
  Tested up to: 4.0
7
+ Stable tag: 1.9.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.9.3 =
71
+ * Bug fix : Fix bug that would be escaped in double.
72
+ * Bug fix : Fix uninstall process.
73
+
74
  = 1.9.2 =
75
  * Bug fix : Fix comment in mwform_confirmButton dialogbox.
76
  * Bug fix : Fix bug in stacking order of the dialog in WordPress 4.0.