MW WP Form - Version 1.3.3

Version Description

  • Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
  • Buf fix : Fix param $rule in mwform_error_message_html filter hook.
Download this release

Release Info

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

Code changes from version 1.3.2 to 1.3.3

Files changed (3) hide show
  1. mw-wp-form.php +2 -2
  2. readme.txt +4 -0
  3. system/mw_form_field.php +4 -3
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.3.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: January 29, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
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.3.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: February 24, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
readme.txt CHANGED
@@ -47,6 +47,10 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
47
 
48
  == Changelog ==
49
 
 
 
 
 
50
  = 1.3.2 =
51
  * Buf fix : Fix session has already started.
52
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.3.3 =
51
+ * Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
52
+ * Buf fix : Fix param $rule in mwform_error_message_html filter hook.
53
+
54
  = 1.3.2 =
55
  * Buf fix : Fix session has already started.
56
 
system/mw_form_field.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field
4
  * URI: http://2inc.org
5
  * Description: フォームフィールドの抽象クラス
6
- * Version: 1.3.6
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -111,6 +111,7 @@ abstract class mw_form_field {
111
  $start_tag = '<span class="error">';
112
  $end_tag = '</span>';
113
  foreach ( $this->Error->getError( $key ) as $rule => $error ) {
 
114
  $error = apply_filters( 'mwform_error_message_' . $this->key, $error, $key, $rule );
115
  $error_html = apply_filters( 'mwform_error_message_html',
116
  $start_tag . esc_html( $error ) . $end_tag,
3
  * Name: MW Form Field
4
  * URI: http://2inc.org
5
  * Description: フォームフィールドの抽象クラス
6
+ * Version: 1.3.7
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: February 24, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
111
  $start_tag = '<span class="error">';
112
  $end_tag = '</span>';
113
  foreach ( $this->Error->getError( $key ) as $rule => $error ) {
114
+ $rule = strtolower( $rule );
115
  $error = apply_filters( 'mwform_error_message_' . $this->key, $error, $key, $rule );
116
  $error_html = apply_filters( 'mwform_error_message_html',
117
  $start_tag . esc_html( $error ) . $end_tag,