Import users from CSV with meta - Version 1.18.4.1

Version Description

  • Fixed bug in batch_exporter that could create fatal errors on executing
Download this release

Release Info

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

Code changes from version 1.18.4 to 1.18.4.1

addons/buddypress.php CHANGED
@@ -90,7 +90,8 @@ class ACUI_Buddypress{
90
  }
91
 
92
  function get_member_type( $user_id ){
93
- return implode( ",", bp_get_member_type( $user_id, false ) );
 
94
  }
95
 
96
  function show_compatibility(){
90
  }
91
 
92
  function get_member_type( $user_id ){
93
+ $member_types = bp_get_member_type( $user_id, false );
94
+ return ( is_array( $member_types ) ) ? implode( ",", $member_types ) : $member_types;
95
  }
96
 
97
  function show_compatibility(){
classes/batch_exporter.php CHANGED
@@ -46,7 +46,7 @@ class ACUI_Batch_Exporter{
46
  }
47
 
48
  function get_non_date_keys(){
49
- return apply_filters( 'acui_export_non_date_keys', array_merge( $this->non_date_keys, $this->user_data, $this->woocommerce_default_user_meta_keys, $this->other_non_date_keys ) );
50
  }
51
 
52
  function maybe_order_columns_alphabetacally( $row, $args ){
46
  }
47
 
48
  function get_non_date_keys(){
49
+ return apply_filters( 'acui_export_non_date_keys', array_merge( $this->user_data, $this->woocommerce_default_user_meta_keys, $this->other_non_date_keys ) );
50
  }
51
 
52
  function maybe_order_columns_alphabetacally( $row, $args ){
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.18.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.18.4.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
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.8.1
7
- Stable tag: 1.18.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,9 @@ Plugin will automatically detect:
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 1.18.4 =
107
  * Improved problem when deleting users, if errors happens but they are notices, we can delete now. Many of the users who have problems with deleting users not present in CSV, was created by the old conditional that checked any kind of error (including notices).
108
 
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.8.1
7
+ Stable tag: 1.18.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.18.4.1 =
107
+ * Fixed bug in batch_exporter that could create fatal errors on executing
108
+
109
  = 1.18.4 =
110
  * Improved problem when deleting users, if errors happens but they are notices, we can delete now. Many of the users who have problems with deleting users not present in CSV, was created by the old conditional that checked any kind of error (including notices).
111