Import users from CSV with meta - Version 1.10.7.1

Version Description

  • Sending mail in standard import bug solved, thanks to @manverupl for the error report.
Download this release

Release Info

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

Code changes from version 1.10.7 to 1.10.7.1

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.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.10.7.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -414,8 +414,10 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false
414
  $mail_for_this_user = true;
415
  }
416
  else{
417
- if( $created || ( isset( $form_data["send_email_updated"] ) && $form_data["send_email_updated"] ) )
418
- $mail_for_this_user = true;
 
 
419
  }
420
 
421
  // send mail
414
  $mail_for_this_user = true;
415
  }
416
  else{
417
+ if( isset( $form_data["sends_email"] ) && $form_data["sends_email"] ){
418
+ if( $created || ( !$created && ( isset( $form_data["send_email_updated"] ) && $form_data["send_email_updated"] ) ) )
419
+ $mail_for_this_user = true;
420
+ }
421
  }
422
 
423
  // send mail
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.8
7
- Stable tag: 1.10.7
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.7 =
74
  * New feature thanks to Todd Zaroban (@tzarob) now you can choose if override or not current roles of each user when you are updating them
75
  * Problem solved in repeated email module thanks to @damienper (https://wordpress.org/support/topic/error-in-email_repeated-php/)
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.8
7
+ Stable tag: 1.10.7.1
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.7.1 =
74
+ * Sending mail in standard import bug solved, thanks to @manverupl for the error report.
75
+
76
  = 1.10.7 =
77
  * New feature thanks to Todd Zaroban (@tzarob) now you can choose if override or not current roles of each user when you are updating them
78
  * Problem solved in repeated email module thanks to @damienper (https://wordpress.org/support/topic/error-in-email_repeated-php/)