Import users from CSV with meta - Version 1.14.2.9

Version Description

  • Role default problem fixed thanks for all the one who notice the bug
Download this release

Release Info

Developer carazo
Plugin Icon 128x128 Import users from CSV with meta
Version 1.14.2.9
Comparing to
See all releases

Code changes from version 1.14.2.7 to 1.14.2.9

import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
- Version: 1.14.2.7
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
+ Version: 1.14.2.9
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -40,7 +40,8 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
40
  $headers = array();
41
  $headers_filtered = array();
42
  $update_existing_users = isset( $form_data["update_existing_users"] ) ? sanitize_text_field( $form_data["update_existing_users"] ) : '';
43
- $role_default = isset( $form_data["role"] ) ? sanitize_text_field( $form_data["role"] ) : '';
 
44
  $update_roles_existing_users = isset( $form_data["update_roles_existing_users"] ) ? sanitize_text_field( $form_data["update_roles_existing_users"] ) : '';
45
  $empty_cell_action = isset( $form_data["empty_cell_action"] ) ? sanitize_text_field( $form_data["empty_cell_action"] ) : '';
46
  $delete_users = isset( $form_data["delete_users"] ) ? sanitize_text_field( $form_data["delete_users"] ) : '';
40
  $headers = array();
41
  $headers_filtered = array();
42
  $update_existing_users = isset( $form_data["update_existing_users"] ) ? sanitize_text_field( $form_data["update_existing_users"] ) : '';
43
+ $role_default = isset( $form_data["role"] ) ? $form_data["role"] : '';
44
+ array_walk( $role_default, 'sanitize_text_field' );
45
  $update_roles_existing_users = isset( $form_data["update_roles_existing_users"] ) ? sanitize_text_field( $form_data["update_roles_existing_users"] ) : '';
46
  $empty_cell_action = isset( $form_data["empty_cell_action"] ) ? sanitize_text_field( $form_data["empty_cell_action"] ) : '';
47
  $delete_users = isset( $form_data["delete_users"] ) ? sanitize_text_field( $form_data["delete_users"] ) : '';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.2.1
7
- Stable tag: 1.14.2.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -91,6 +91,12 @@ Plugin will automatically detect:
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
94
  = 1.14.2.7 =
95
  * Removed old code parts from SMTP settings that now are not available and could create warnings
96
 
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.2.1
7
+ Stable tag: 1.14.2.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
91
 
92
  == Changelog ==
93
 
94
+ = 1.14.2.9 =
95
+ * Role default problem fixed thanks for all the one who notice the bug
96
+
97
+ = 1.14.2.8 =
98
+ * Addon to import groups of Customer Area Managed Area included
99
+
100
  = 1.14.2.7 =
101
  * Removed old code parts from SMTP settings that now are not available and could create warnings
102