Version Description
- Bug fix :
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- mw-wp-form.php +2 -2
- readme.txt +4 -1
- system/mw_validation.php +3 -3
mw-wp-form.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/manual-mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
-
* Version: 1.2.
|
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: GPL2
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/manual-mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
+
* Version: 1.2.4
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
+
* Modified: December 23, 2013
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPL2
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
|
|
4 |
Tags: plugin, form, confirm, preview, shortcode
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.8.0
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -47,6 +47,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 1.2.3 =
|
51 |
* Bug fix : ビジュアルエディタショートコードボタンがどの投稿タイプでもでてしまうバグを修正
|
52 |
|
4 |
Tags: plugin, form, confirm, preview, shortcode
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.8.0
|
7 |
+
Stable tag: 1.2.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.2.4 =
|
51 |
+
* Bug fix : メールアドレスバリデーションのバグを修正
|
52 |
+
|
53 |
= 1.2.3 =
|
54 |
* Bug fix : ビジュアルエディタショートコードボタンがどの投稿タイプでもでてしまうバグを修正
|
55 |
|
system/mw_validation.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW Validation
|
4 |
* URI: http://2inc.org
|
5 |
* Description: バリデーションクラス
|
6 |
-
* Version: 1.6.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : July 20, 2012
|
10 |
-
* Modified: December
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -298,7 +298,7 @@ class MW_Validation {
|
|
298 |
if ( is_array( $value ) ) {
|
299 |
$value = implode( $this->getSeparatorValue( $key ), $value );
|
300 |
}
|
301 |
-
if ( !preg_match( '/^[^@]+@[^@^\.]+\.[^@^\.]+$/', $value ) ) {
|
302 |
$defaults = array(
|
303 |
'message' => __( 'This is not the format of a mail address.', MWF_Config::DOMAIN )
|
304 |
);
|
3 |
* Name: MW Validation
|
4 |
* URI: http://2inc.org
|
5 |
* Description: バリデーションクラス
|
6 |
+
* Version: 1.6.2
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : July 20, 2012
|
10 |
+
* Modified: December 23, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
298 |
if ( is_array( $value ) ) {
|
299 |
$value = implode( $this->getSeparatorValue( $key ), $value );
|
300 |
}
|
301 |
+
if ( !preg_match( '/^[^@]+@([^@^\.]+\.)+[^@^\.]+$/', $value ) ) {
|
302 |
$defaults = array(
|
303 |
'message' => __( 'This is not the format of a mail address.', MWF_Config::DOMAIN )
|
304 |
);
|