Version Description
- Changed : Removed for the Generator code.
- Bugfix : Fixed a bug that mwform_default_settings doesn't fired.
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0 to 2.6.1
- classes/controllers/class.admin.php +2 -2
- classes/models/class.abstract-form-field.php +2 -7
- classes/models/class.setting.php +12 -12
- mw-wp-form.php +2 -2
- readme.txt +5 -1
classes/controllers/class.admin.php
CHANGED
@@ -277,8 +277,8 @@ class MW_WP_Form_Admin_Controller extends MW_WP_Form_Controller {
|
|
277 |
} else {
|
278 |
$value = $Setting->get( $key );
|
279 |
}
|
280 |
-
|
281 |
-
if ( !
|
282 |
return $value;
|
283 |
} else {
|
284 |
$date = $post->post_date;
|
277 |
} else {
|
278 |
$value = $Setting->get( $key );
|
279 |
}
|
280 |
+
|
281 |
+
if ( !empty( $value ) ) {
|
282 |
return $value;
|
283 |
} else {
|
284 |
$date = $post->post_date;
|
classes/models/class.abstract-form-field.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/**
|
3 |
* Name : MW WP Form Abstract Form Field
|
4 |
* Description: フォームフィールドの抽象クラス
|
5 |
-
* Version : 1.7.
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : December 14, 2012
|
9 |
-
* Modified :
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
@@ -329,11 +329,6 @@ abstract class MW_WP_Form_Abstract_Form_Field {
|
|
329 |
*/
|
330 |
public function get_value_for_generator( $key, $options ) {
|
331 |
$attributes = array_keys( $this->defaults );
|
332 |
-
$add_allow_attributes = array(
|
333 |
-
'mw-wp-form-generator-notes',
|
334 |
-
'mw-wp-form-generator-display-name'
|
335 |
-
);
|
336 |
-
$attributes = array_merge( $attributes, $add_allow_attributes );
|
337 |
$attributes = array_flip( $attributes );
|
338 |
if ( isset( $attributes[$key] ) ) {
|
339 |
if ( isset( $options[$key] ) ) {
|
2 |
/**
|
3 |
* Name : MW WP Form Abstract Form Field
|
4 |
* Description: フォームフィールドの抽象クラス
|
5 |
+
* Version : 1.7.5
|
6 |
* Author : Takashi Kitajima
|
7 |
* Author URI : http://2inc.org
|
8 |
* Created : December 14, 2012
|
9 |
+
* Modified : November 17, 2015
|
10 |
* License : GPLv2 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
329 |
*/
|
330 |
public function get_value_for_generator( $key, $options ) {
|
331 |
$attributes = array_keys( $this->defaults );
|
|
|
|
|
|
|
|
|
|
|
332 |
$attributes = array_flip( $attributes );
|
333 |
if ( isset( $attributes[$key] ) ) {
|
334 |
if ( isset( $options[$key] ) ) {
|
classes/models/class.setting.php
CHANGED
@@ -17,6 +17,18 @@ class MW_WP_Form_Setting {
|
|
17 |
*/
|
18 |
protected $post_id;
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* 自動返信メールの題名
|
22 |
* @var string
|
@@ -89,18 +101,6 @@ class MW_WP_Form_Setting {
|
|
89 |
*/
|
90 |
protected $admin_mail_content = '';
|
91 |
|
92 |
-
/**
|
93 |
-
* URL引数を有効にするかどうか
|
94 |
-
* @var false|1
|
95 |
-
*/
|
96 |
-
protected $querystring = false;
|
97 |
-
|
98 |
-
/**
|
99 |
-
* 問い合わせデータを保存するかどうか
|
100 |
-
* @var false|1
|
101 |
-
*/
|
102 |
-
protected $usedb = false;
|
103 |
-
|
104 |
/**
|
105 |
* akismet送信者の対象とするフォームフィールドのname属性
|
106 |
* @var string
|
17 |
*/
|
18 |
protected $post_id;
|
19 |
|
20 |
+
/**
|
21 |
+
* URL引数を有効にするかどうか
|
22 |
+
* @var false|1
|
23 |
+
*/
|
24 |
+
protected $querystring = false;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* 問い合わせデータを保存するかどうか
|
28 |
+
* @var false|1
|
29 |
+
*/
|
30 |
+
protected $usedb = false;
|
31 |
+
|
32 |
/**
|
33 |
* 自動返信メールの題名
|
34 |
* @var string
|
101 |
*/
|
102 |
protected $admin_mail_content = '';
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
/**
|
105 |
* akismet送信者の対象とするフォームフィールドのname属性
|
106 |
* @var string
|
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.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
-
* Modified: December
|
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.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
|
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.
|
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.0 =
|
82 |
* Bugfix : JavaScript bug fix on validation.
|
83 |
* Changed : Multilingual support. Changed domain.
|
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 |
|
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.
|
84 |
+
|
85 |
= 2.6.0 =
|
86 |
* Bugfix : JavaScript bug fix on validation.
|
87 |
* Changed : Multilingual support. Changed domain.
|