Version Description
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 0.9.7 |
Comparing to | |
See all releases |
Code changes from version 0.9.6 to 0.9.7
- mw-wp-form.php +1 -1
- readme.txt +4 -1
- system/mw_wp_form_admin_page.php +5 -4
mw-wp-form.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
-
* Version: 0.9.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: September 25, 2012
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
+
* Version: 0.9.7
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: September 25, 2012
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: plugin, form, confirm, preview
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 0.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -37,6 +37,9 @@ http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
40 |
= 0.9.6 =
|
41 |
* Bug fix: 電話番号のバリデーションチェックを修正
|
42 |
* Added : CSVダウンロード機能追加
|
4 |
Tags: plugin, form, confirm, preview
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 0.9.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 0.9.6 =
|
41 |
+
* Bug fix: CSVダウンロードのバグ修正
|
42 |
+
|
43 |
= 0.9.6 =
|
44 |
* Bug fix: 電話番号のバリデーションチェックを修正
|
45 |
* Added : CSVダウンロード機能追加
|
system/mw_wp_form_admin_page.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: 管理画面クラス
|
6 |
-
* Version: 1.5
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: February 21, 2013
|
10 |
-
* Modified: August
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -94,7 +94,7 @@ class MW_WP_Form_Admin_Page {
|
|
94 |
foreach ( $post_custom_keys as $key ) {
|
95 |
if ( preg_match( '/^_/', $key ) )
|
96 |
continue;
|
97 |
-
$columns[] = $key;
|
98 |
}
|
99 |
}
|
100 |
}
|
@@ -121,8 +121,9 @@ class MW_WP_Form_Admin_Page {
|
|
121 |
// エンコード
|
122 |
foreach ( $rows as $row ) {
|
123 |
$csv .= implode( ',', $row ) . "\r\n";
|
124 |
-
|
125 |
}
|
|
|
126 |
|
127 |
$file_name = 'mw_wp_form_' . date( 'YmdHis' ) . '.csv';
|
128 |
header( 'Content-Type: application/octet-stream' );
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: 管理画面クラス
|
6 |
+
* Version: 1.5.1
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: February 21, 2013
|
10 |
+
* Modified: August 31, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
94 |
foreach ( $post_custom_keys as $key ) {
|
95 |
if ( preg_match( '/^_/', $key ) )
|
96 |
continue;
|
97 |
+
$columns[$key] = $key;
|
98 |
}
|
99 |
}
|
100 |
}
|
121 |
// エンコード
|
122 |
foreach ( $rows as $row ) {
|
123 |
$csv .= implode( ',', $row ) . "\r\n";
|
124 |
+
//$csv = mb_convert_encoding( $csv, 'SJIS-win', get_option( 'blog_charset' ) );
|
125 |
}
|
126 |
+
$csv = mb_convert_encoding( $csv, 'sjis-win', get_option( 'blog_charset' ) );
|
127 |
|
128 |
$file_name = 'mw_wp_form_' . date( 'YmdHis' ) . '.csv';
|
129 |
header( 'Content-Type: application/octet-stream' );
|