Import users from CSV with meta - Version 1.15.4.1

Version Description

  • Double email fixed
Download this release

Release Info

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

Code changes from version 1.15.4 to 1.15.4.1

classes/email-options.php CHANGED
@@ -11,7 +11,6 @@ class ACUI_Email_Options{
11
  public static function admin_gui(){
12
  $automatic_created_edited_wordpress_email = get_option( "acui_automatic_created_edited_wordpress_email" );
13
  $automatic_wordpress_email = get_option( "acui_automatic_wordpress_email" );
14
-
15
  $subject_mail = get_option( "acui_mail_subject" );
16
  $body_mail = get_option( "acui_mail_body" );
17
  $template_id = get_option( "acui_mail_template_id" );
11
  public static function admin_gui(){
12
  $automatic_created_edited_wordpress_email = get_option( "acui_automatic_created_edited_wordpress_email" );
13
  $automatic_wordpress_email = get_option( "acui_automatic_wordpress_email" );
 
14
  $subject_mail = get_option( "acui_mail_subject" );
15
  $body_mail = get_option( "acui_mail_body" );
16
  $template_id = get_option( "acui_mail_template_id" );
import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
- Version: 1.15.4
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
+ Version: 1.15.4.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -554,11 +554,11 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
554
  }
555
 
556
  // wordpress default user created and edited emails
557
- if( get_option('acui_automatic_created_edited_wordpress_email') && $created ){
558
  do_action( 'register_new_user', $user_id );
559
  }
560
 
561
- if( get_option('acui_automatic_created_edited_wordpress_email') && !$created ){
562
  do_action( 'edit_user_created_user', $user_id, 'both' );
563
  }
564
 
554
  }
555
 
556
  // wordpress default user created and edited emails
557
+ if( get_option('acui_automatic_created_edited_wordpress_email') == 'true' && $created ){
558
  do_action( 'register_new_user', $user_id );
559
  }
560
 
561
+ if( get_option('acui_automatic_created_edited_wordpress_email') == 'true' && !$created ){
562
  do_action( 'edit_user_created_user', $user_id, 'both' );
563
  }
564
 
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.3.2
7
- Stable tag: 1.15.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,6 +98,9 @@ Plugin will automatically detect:
98
 
99
  == Changelog ==
100
 
 
 
 
101
  = 1.15.4 =
102
  * WooCommerce Subscriptions importer included to create subscriptions at the same time you are importing users
103
  * New hooks added
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.3.2
7
+ Stable tag: 1.15.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 1.15.4.1 =
102
+ * Double email fixed
103
+
104
  = 1.15.4 =
105
  * WooCommerce Subscriptions importer included to create subscriptions at the same time you are importing users
106
  * New hooks added