Version Description
- Tested up to 5.8.1
- Fixed problem with roles export
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.18.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.18.2 to 1.18.2.1
- classes/batch_exporter.php +2 -2
- import-users-from-csv-with-meta.php +2 -2
- readme.txt +6 -2
classes/batch_exporter.php
CHANGED
@@ -574,7 +574,7 @@ class ACUI_Batch_Exporter{
|
|
574 |
}
|
575 |
|
576 |
if( count( $this->get_filtered_columns() ) == 0 || in_array( 'role', $this->get_filtered_columns() ) )
|
577 |
-
$row[] =
|
578 |
|
579 |
foreach ( $this->get_user_meta_keys( $this->get_filtered_columns() ) as $key ) {
|
580 |
$row[ $key ] = $this->prepare( $key, get_user_meta( $user, $key, true ), $this->get_datetime_format(), $user );
|
@@ -595,7 +595,7 @@ class ACUI_Batch_Exporter{
|
|
595 |
$original_value = $value;
|
596 |
|
597 |
if( $key == 'role' ){
|
598 |
-
return
|
599 |
}
|
600 |
if( is_array( $value ) || is_object( $value ) ){
|
601 |
return serialize( $value );
|
574 |
}
|
575 |
|
576 |
if( count( $this->get_filtered_columns() ) == 0 || in_array( 'role', $this->get_filtered_columns() ) )
|
577 |
+
$row['role'] = implode( ',', ACUI_Helper::get_roles_by_user_id( $user ) );
|
578 |
|
579 |
foreach ( $this->get_user_meta_keys( $this->get_filtered_columns() ) as $key ) {
|
580 |
$row[ $key ] = $this->prepare( $key, get_user_meta( $user, $key, true ), $this->get_datetime_format(), $user );
|
595 |
$original_value = $value;
|
596 |
|
597 |
if( $key == 'role' ){
|
598 |
+
return implode( ',', ACUI_Helper::get_roles_by_user_id( $user ) );
|
599 |
}
|
600 |
if( is_array( $value ) || is_object( $value ) ){
|
601 |
return serialize( $value );
|
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.2
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -15,7 +15,7 @@ Domain Path: /languages
|
|
15 |
if ( ! defined( 'ABSPATH' ) )
|
16 |
exit;
|
17 |
|
18 |
-
define( 'ACUI_VERSION', '1.18.2' );
|
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.18.2.1
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
15 |
if ( ! defined( 'ABSPATH' ) )
|
16 |
exit;
|
17 |
|
18 |
+
define( 'ACUI_VERSION', '1.18.2.1' );
|
19 |
|
20 |
class ImportExportUsersCustomers{
|
21 |
var $file;
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: carazo, hornero
|
|
3 |
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
|
7 |
-
Stable tag: 1.18.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -103,6 +103,10 @@ Plugin will automatically detect:
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
106 |
= 1.18.2 =
|
107 |
* New hooks added to manage extra profile fields
|
108 |
* Problem solved in BuddyPress addon
|
3 |
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.2.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.2.1 =
|
107 |
+
* Tested up to 5.8.1
|
108 |
+
* Fixed problem with roles export
|
109 |
+
|
110 |
= 1.18.2 =
|
111 |
* New hooks added to manage extra profile fields
|
112 |
* Problem solved in BuddyPress addon
|