MW WP Form - Version 2.10.0

Version Description

  • Added : Added filter hook mwform_translate_datepicker_mw-wp-form-xxx
Download this release

Release Info

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

Code changes from version 2.9.0 to 2.10.0

classes/form-fields/class.datepicker.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * Name : MW WP Form Field Datepicker
4
  * Description: datepickerを出力
5
- * Version : 1.7.1
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified : April 3, 2016
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -74,8 +74,8 @@ class MW_WP_Form_Field_Datepicker extends MW_WP_Form_Abstract_Form_Field {
74
  );
75
  }
76
 
77
- // 日本語の場合は日本語表記に変更
78
- if ( get_locale() == 'ja' ) {
79
  $js = array_merge( array(
80
  'yearSuffix' => '年',
81
  'dateFormat' => 'yy年mm月dd日',
2
  /**
3
  * Name : MW WP Form Field Datepicker
4
  * Description: datepickerを出力
5
+ * Version : 1.8.0
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified : September 18, 2016
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
74
  );
75
  }
76
 
77
+ $translate_datepicker = apply_filters( 'mwform_translate_datepicker_' . $this->form_key, true );
78
+ if ( $translate_datepicker && get_locale() == 'ja' ) {
79
  $js = array_merge( array(
80
  'yearSuffix' => '年',
81
  'dateFormat' => 'yy年mm月dd日',
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.9.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: August 22, 2016
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.10.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: September 18, 2016
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.6.0
7
- Stable tag: 2.9.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -80,6 +80,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 2.9.0 =
84
  * Added : Added the Return-Path setting.
85
 
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.6.0
7
+ Stable tag: 2.10.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.10.0 =
84
+ * Added : Added filter hook mwform_translate_datepicker_mw-wp-form-xxx
85
+
86
  = 2.9.0 =
87
  * Added : Added the Return-Path setting.
88