MW WP Form - Version 4.1.1

Version Description

  • Add admin_email_to column to CSV.
Download this release

Release Info

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

Code changes from version 4.1.0 to 4.1.1

classes/controllers/class.contact-data-list.php CHANGED
@@ -156,7 +156,7 @@ class MW_WP_Form_Contact_Data_List_Controller extends MW_WP_Form_Controller {
156
 
157
  unset( $columns['date'] );
158
  $columns['post_date'] = __( 'Registed Date', 'mw-wp-form' );
159
- $columns['admin_mail_to'] = __( 'Admin Mail To', 'mw-wp-form' );
160
  $columns['response_status'] = __( 'Response Status', 'mw-wp-form' );
161
  $_columns = array();
162
 
156
 
157
  unset( $columns['date'] );
158
  $columns['post_date'] = __( 'Registed Date', 'mw-wp-form' );
159
+ $columns['admin_mail_to'] = __( 'Admin Email To', 'mw-wp-form' );
160
  $columns['response_status'] = __( 'Response Status', 'mw-wp-form' );
161
  $_columns = array();
162
 
classes/models/class.csv.php CHANGED
@@ -127,6 +127,7 @@ class MW_WP_Form_CSV {
127
  protected function _get_csv_headings( array $posts ) {
128
  $columns = array(
129
  'ID' => 'ID',
 
130
  'response_status' => __( 'Response Status', 'mw-wp-form' ),
131
  'post_date' => 'post_date',
132
  'post_modified' => 'post_modified',
@@ -183,6 +184,8 @@ class MW_WP_Form_CSV {
183
  if ( 'response_status' === $key ) {
184
  $response_status = $Contact_Data_Setting->get( 'response_status' );
185
  $column = $response_statuses[ $response_status ];
 
 
186
  } elseif ( 'memo' === $key ) {
187
  $column = $Contact_Data_Setting->get( 'memo' );
188
  } elseif ( MWF_Config::TRACKINGNUMBER === $key) {
127
  protected function _get_csv_headings( array $posts ) {
128
  $columns = array(
129
  'ID' => 'ID',
130
+ 'admin_mail_to' => __( 'Admin Email To', 'mw-wp-form' ),
131
  'response_status' => __( 'Response Status', 'mw-wp-form' ),
132
  'post_date' => 'post_date',
133
  'post_modified' => 'post_modified',
184
  if ( 'response_status' === $key ) {
185
  $response_status = $Contact_Data_Setting->get( 'response_status' );
186
  $column = $response_statuses[ $response_status ];
187
+ } elseif ( 'admin_mail_to' === $key ) {
188
+ $column = $Contact_Data_Setting->get( 'admin_mail_to' );
189
  } elseif ( 'memo' === $key ) {
190
  $column = $Contact_Data_Setting->get( 'memo' );
191
  } elseif ( MWF_Config::TRACKINGNUMBER === $key) {
mw-wp-form.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: https://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, and chart aggregation using saved inquiry data.
6
- * Version: 4.1.0
7
  * Author: Takashi Kitajima
8
  * Author URI: https://2inc.org
9
  * Created : September 25, 2012
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: https://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, and chart aggregation using saved inquiry data.
6
+ * Version: 4.1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: https://2inc.org
9
  * Created : September 25, 2012
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://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: 5.2.2
7
- Stable tag: 4.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -72,6 +72,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 4.1.0 =
76
  * Add filter hook mwform_csv_columns-mwf_xxx
77
  * Fixed the bug that "MW WP Form dosen't support" mwform_after_exec_shortcode "already." is output to the error log even though it is not hooked.
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: 5.2.2
7
+ Stable tag: 4.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
72
 
73
  == Changelog ==
74
 
75
+ = 4.1.1 =
76
+ * Add admin_email_to column to CSV.
77
+
78
  = 4.1.0 =
79
  * Add filter hook mwform_csv_columns-mwf_xxx
80
  * Fixed the bug that "MW WP Form dosen't support" mwform_after_exec_shortcode "already." is output to the error log even though it is not hooked.
templates/contact-data/detail.php CHANGED
@@ -47,7 +47,7 @@
47
  <?php endif; ?>
48
  <?php endforeach; ?>
49
  <tr>
50
- <th><?php esc_html_e( 'Admin Mail To', 'mw-wp-form' ); ?></th>
51
  <td>
52
  <?php echo esc_html( $Contact_Data_Setting->get( 'admin_mail_to' ) ); ?>
53
  </td>
47
  <?php endif; ?>
48
  <?php endforeach; ?>
49
  <tr>
50
+ <th><?php esc_html_e( 'Admin Email To', 'mw-wp-form' ); ?></th>
51
  <td>
52
  <?php echo esc_html( $Contact_Data_Setting->get( 'admin_mail_to' ) ); ?>
53
  </td>