Import users from CSV with meta - Version 1.10.7.5

Version Description

  • Bug solved in cron import, now mails not being sent to user who are being updated unless you activate those mails
Download this release

Release Info

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

Code changes from version 1.10.7.4 to 1.10.7.5

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.4
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.5
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -422,8 +422,11 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false
422
 
423
  $mail_for_this_user = false;
424
  if( $is_cron ){
425
- if( get_option( "acui_cron_send_mail" ) )
426
- $mail_for_this_user = true;
 
 
 
427
  }
428
  else{
429
  if( isset( $form_data["sends_email"] ) && $form_data["sends_email"] ){
422
 
423
  $mail_for_this_user = false;
424
  if( $is_cron ){
425
+ if( get_option( "acui_cron_send_mail" ) ){
426
+ if( $created || ( !$created && get_option( "acui_cron_send_mail_updated" ) ) ){
427
+ $mail_for_this_user = true;
428
+ }
429
+ }
430
  }
431
  else{
432
  if( isset( $form_data["sends_email"] ) && $form_data["sends_email"] ){
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.4
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.4 =
74
  * Plugin now remember if user has selected or not mail sending when doing a manual import, to select by default this option next time
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.8
7
+ Stable tag: 1.10.7.5
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.5 =
74
+ * Bug solved in cron import, now mails not being sent to user who are being updated unless you activate those mails
75
+
76
  = 1.10.7.4 =
77
  * Plugin now remember if user has selected or not mail sending when doing a manual import, to select by default this option next time
78