Import users from CSV with meta - Version 1.15.5.9

Version Description

  • Array to string conversion fixed in emails being sent
  • Problems importing data from WooCommerce Membership fixed
Download this release

Release Info

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

Code changes from version 1.15.5.8 to 1.15.5.9

addons/woocommerce-membership.php CHANGED
@@ -107,7 +107,7 @@ function acui_wm_post_import_single_user( $headers, $row, $user_id ){
107
 
108
  acui_vm_update_user_membership_meta( $user_membership, $action, $import_data );
109
 
110
- do_action( 'wc_memberships_csv_import_user_membership', $user_membership, $action, $import_data );
111
  }
112
  else{
113
  $membership_plan_id = absint( $row[ $pos ] );
107
 
108
  acui_vm_update_user_membership_meta( $user_membership, $action, $import_data );
109
 
110
+ do_action( 'wc_memberships_csv_import_user_membership', $user_membership, $action, $import_data, new StdClass() );
111
  }
112
  else{
113
  $membership_plan_id = absint( $row[ $pos ] );
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.5.8
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.5.9
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -603,6 +603,7 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
603
  }
604
 
605
  for( $i = 0 ; $i < count( $headers ); $i++ ) {
 
606
  $body_mail = str_replace("**" . $headers[ $i ] . "**", $data[ $i ] , $body_mail);
607
  }
608
 
603
  }
604
 
605
  for( $i = 0 ; $i < count( $headers ); $i++ ) {
606
+ $data[ $i ] = ( is_array( $data[ $i ] ) ) ? implode( "-", $data[ $i ] ) : $data[ $i ];
607
  $body_mail = str_replace("**" . $headers[ $i ] . "**", $data[ $i ] , $body_mail);
608
  }
609
 
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.4
7
- Stable tag: 1.15.5.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -99,6 +99,10 @@ Plugin will automatically detect:
99
 
100
  == Changelog ==
101
 
 
 
 
 
102
  = 1.15.5.8 =
103
  * Export improved to avoid more data to be exported as date
104
  * Tested up to WordPress 4.0
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.4
7
+ Stable tag: 1.15.5.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
99
 
100
  == Changelog ==
101
 
102
+ = 1.15.5.9 =
103
+ * Array to string conversion fixed in emails being sent
104
+ * Problems importing data from WooCommerce Membership fixed
105
+
106
  = 1.15.5.8 =
107
  * Export improved to avoid more data to be exported as date
108
  * Tested up to WordPress 4.0