Import users from CSV with meta - Version 1.19.2.7

Version Description

  • Fixed issue in BuddyPress integration when exporting data
Download this release

Release Info

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

Code changes from version 1.19.2.6 to 1.19.2.7

addons/buddypress.php CHANGED
@@ -161,9 +161,8 @@ class ACUI_Buddypress{
161
  }
162
 
163
  function export_data( $row, $user, $args ){
164
- if( count( $args['filtered_columns'] ) != 0 )
165
- $fields_to_export = array_intersect( $this->fields, $args['filtered_columns'] );
166
-
167
  foreach( $fields_to_export as $key ) {
168
  $row[ $key ] = xprofile_get_field_data( $key, $user, 'comma' );
169
  }
161
  }
162
 
163
  function export_data( $row, $user, $args ){
164
+ $fields_to_export = ( count( $args['filtered_columns'] ) == 0 ) ? $this->fields : array_intersect( $this->fields, $args['filtered_columns'] );
165
+
 
166
  foreach( $fields_to_export as $key ) {
167
  $row[ $key ] = xprofile_get_field_data( $key, $user, 'comma' );
168
  }
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.19.2.6
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -11,11 +11,10 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  Text Domain: import-users-from-csv-with-meta
12
  Domain Path: /languages
13
  */
14
-
15
  if ( ! defined( 'ABSPATH' ) )
16
  exit;
17
 
18
- define( 'ACUI_VERSION', '1.19.2.6' );
19
 
20
  class ImportExportUsersCustomers{
21
  var $file;
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.19.2.7
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
11
  Text Domain: import-users-from-csv-with-meta
12
  Domain Path: /languages
13
  */
 
14
  if ( ! defined( 'ABSPATH' ) )
15
  exit;
16
 
17
+ define( 'ACUI_VERSION', '1.19.2.7' );
18
 
19
  class ImportExportUsersCustomers{
20
  var $file;
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: 6.0
7
- Stable tag: 1.19.2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,9 @@ Plugin will automatically detect:
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 1.19.2.6 =
111
  * Default values in select change to user the "safer" choice when assigning default values
112
 
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: 6.0
7
+ Stable tag: 1.19.2.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.19.2.7 =
111
+ * Fixed issue in BuddyPress integration when exporting data
112
+
113
  = 1.19.2.6 =
114
  * Default values in select change to user the "safer" choice when assigning default values
115