MW WP Form - Version 2.6.2

Version Description

  • Bugfix : Fixed a bug that class attribute can't set at radio.
  • Bugfix : Fixed a bug that id and class attribute can't set at file.
Download this release

Release Info

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

Code changes from version 2.6.1 to 2.6.2

Files changed (3) hide show
  1. classes/models/class.form.php +5 -4
  2. mw-wp-form.php +2 -2
  3. readme.txt +5 -1
classes/models/class.form.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * Name : MW WP Form Form
4
  * Description: フォームヘルパー
5
- * Version : 1.8.0
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : September 25, 2012
9
- * Modified : November 13, 2015
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -587,7 +587,8 @@ class MW_WP_Form_Form {
587
  'for' => $this->get_attr_id( $options['id'], $i ),
588
  ) );
589
  $attributes = $this->generate_attributes( array(
590
- 'id' => $this->get_attr_id( $options['id'], $i ),
 
591
  ) );
592
  $_ret .= sprintf(
593
  '<span class="mwform-radio-field %s"><label%s><input type="radio" name="%s" value="%s"%s %s />%s</label></span>',
@@ -747,7 +748,7 @@ class MW_WP_Form_Form {
747
  $attributes = $this->generate_attributes( $options );
748
 
749
  return sprintf(
750
- '<input type="file" name="%s" /><span data-mwform-file-delete="%1$s" class="mwform-file-delete">&times;</span>',
751
  esc_attr( $name ),
752
  $attributes
753
  );
2
  /**
3
  * Name : MW WP Form Form
4
  * Description: フォームヘルパー
5
+ * Version : 1.8.1
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : September 25, 2012
9
+ * Modified : December 2, 2015
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
587
  'for' => $this->get_attr_id( $options['id'], $i ),
588
  ) );
589
  $attributes = $this->generate_attributes( array(
590
+ 'id' => $this->get_attr_id( $options['id'], $i ),
591
+ 'class' => $options['class'],
592
  ) );
593
  $_ret .= sprintf(
594
  '<span class="mwform-radio-field %s"><label%s><input type="radio" name="%s" value="%s"%s %s />%s</label></span>',
748
  $attributes = $this->generate_attributes( $options );
749
 
750
  return sprintf(
751
+ '<input type="file" name="%1$s"%2$s /><span data-mwform-file-delete="%1$s" class="mwform-file-delete">&times;</span>',
752
  esc_attr( $name ),
753
  $attributes
754
  );
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.6.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: December 17, 2015
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.6.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: November 2, 2015
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2 or later
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, html, contact form, form creation, form creator, form manager, form builder, custom form
5
  Requires at least: 4.0
6
  Tested up to: 4.3.1
7
- Stable tag: 2.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,6 +78,10 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
78
 
79
  == Changelog ==
80
 
 
 
 
 
81
  = 2.6.1 =
82
  * Changed : Removed for the Generator code.
83
  * Bugfix : Fixed a bug that mwform_default_settings doesn't fired.
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.3.1
7
+ Stable tag: 2.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
 
79
  == Changelog ==
80
 
81
+ = 2.6.2 =
82
+ * Bugfix : Fixed a bug that class attribute can't set at radio.
83
+ * Bugfix : Fixed a bug that id and class attribute can't set at file.
84
+
85
  = 2.6.1 =
86
  * Changed : Removed for the Generator code.
87
  * Bugfix : Fixed a bug that mwform_default_settings doesn't fired.