Import users from CSV with meta - Version 1.10.6.4

Version Description

  • Documentation fixed: if user id is present in the CSV but not in the database, it cannot be used to create a new user
Download this release

Release Info

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

Code changes from version 1.10.6.3 to 1.10.6.4

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.10.6.3
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.10.6.4
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -903,7 +903,7 @@ function acui_options()
903
  <th scope="row"><?php _e( 'id', 'import-users-from-csv-with-meta' ); ?></th>
904
  <td><?php _e( 'You can use a column called id in order to make inserts or updates of an user using the ID used by WordPress in the wp_users table. We have two different cases:', 'import-users-from-csv-with-meta' ); ?>
905
  <ul style="list-style:disc outside none; margin-left:2em;">
906
- <li><?php _e( "If id <strong>doesn't exist in your users table</strong>: user will be inserted", 'import-users-from-csv-with-meta' ); ?></li>
907
  <li><?php _e( "If id <strong>exists</strong>: plugin check if username is the same, if yes, it will update the data, if not, it ignores the cell to avoid problems", 'import-users-from-csv-with-meta' ); ?></li>
908
  </ul>
909
  </td>
903
  <th scope="row"><?php _e( 'id', 'import-users-from-csv-with-meta' ); ?></th>
904
  <td><?php _e( 'You can use a column called id in order to make inserts or updates of an user using the ID used by WordPress in the wp_users table. We have two different cases:', 'import-users-from-csv-with-meta' ); ?>
905
  <ul style="list-style:disc outside none; margin-left:2em;">
906
+ <li><?php _e( "If id <strong>doesn't exist in your users table</strong>: WordPress core does not allow us insert it, so it will throw an error of kind: invalid_user_id", 'import-users-from-csv-with-meta' ); ?></li>
907
  <li><?php _e( "If id <strong>exists</strong>: plugin check if username is the same, if yes, it will update the data, if not, it ignores the cell to avoid problems", 'import-users-from-csv-with-meta' ); ?></li>
908
  </ul>
909
  </td>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://paypal.me/codection
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: 4.7.4
7
- Stable tag: 1.10.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,6 +70,9 @@ Plugin will automatically detect:
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.10.6.3 =
74
  * New hook added do_action('post_acui_import_single_user', $headers, $data, $user_id );
75
 
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: 4.7.4
7
+ Stable tag: 1.10.6.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
 
71
  == Changelog ==
72
 
73
+ = 1.10.6.4 =
74
+ * Documentation fixed: if user id is present in the CSV but not in the database, it cannot be used to create a new user
75
+
76
  = 1.10.6.3 =
77
  * New hook added do_action('post_acui_import_single_user', $headers, $data, $user_id );
78