Version Description
- Bug fixed
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.15.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.15.3.1 to 1.15.3.2
- import-users-from-csv-with-meta.php +9 -5
- importer.php +1 -3
- readme.txt +4 -2
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.3.
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -11,6 +11,7 @@ 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 |
if ( ! defined( 'ABSPATH' ) )
|
15 |
exit;
|
16 |
|
@@ -151,11 +152,14 @@ function acui_delete_options(){
|
|
151 |
}
|
152 |
}
|
153 |
|
|
|
|
|
|
|
|
|
154 |
function acui_get_restricted_fields(){
|
155 |
-
$wp_users_fields =
|
156 |
-
$wp_min_fields = array( "Username", "Email" );
|
157 |
-
$
|
158 |
-
$acui_restricted_fields = array_merge( $wp_users_fields, $wp_min_fields, $acui_fields );
|
159 |
|
160 |
return apply_filters( 'acui_restricted_fields', $acui_restricted_fields );
|
161 |
}
|
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.3.2
|
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 |
+
|
15 |
if ( ! defined( 'ABSPATH' ) )
|
16 |
exit;
|
17 |
|
152 |
}
|
153 |
}
|
154 |
|
155 |
+
function acui_get_wp_users_fields(){
|
156 |
+
return array( "id", "user_nicename", "user_url", "display_name", "nickname", "first_name", "last_name", "description", "jabber", "aim", "yim", "user_registered", "password", "user_pass", "locale", "show_admin_bar_front", "user_login" );
|
157 |
+
}
|
158 |
+
|
159 |
function acui_get_restricted_fields(){
|
160 |
+
$wp_users_fields = acui_get_wp_users_fields();
|
161 |
+
$wp_min_fields = array( "Username", "Email", "bp_group", "bp_group_role", "role" );
|
162 |
+
$acui_restricted_fields = array_merge( $wp_users_fields, $wp_min_fields );
|
|
|
163 |
|
164 |
return apply_filters( 'acui_restricted_fields', $acui_restricted_fields );
|
165 |
}
|
importer.php
CHANGED
@@ -11,9 +11,7 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
|
|
11 |
do_action( 'before_acui_import_users' );
|
12 |
|
13 |
global $wpdb;
|
14 |
-
|
15 |
-
global $wp_min_fields;
|
16 |
-
global $acui_fields;
|
17 |
$acui_restricted_fields = acui_get_restricted_fields();
|
18 |
|
19 |
if( is_plugin_active( 'wp-access-areas/wp-access-areas.php' ) ){
|
11 |
do_action( 'before_acui_import_users' );
|
12 |
|
13 |
global $wpdb;
|
14 |
+
$wp_users_fields = acui_get_wp_users_fields();
|
|
|
|
|
15 |
$acui_restricted_fields = acui_get_restricted_fields();
|
16 |
|
17 |
if( is_plugin_active( 'wp-access-areas/wp-access-areas.php' ) ){
|
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.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -98,9 +98,11 @@ Plugin will automatically detect:
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
101 |
= 1.15.3.1 =
|
102 |
* Role included in export
|
103 |
-
* Export phones fixed to be exported as dates
|
104 |
* test.csv improved
|
105 |
* Different code improvements
|
106 |
|
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.3.2
|
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.3.2 =
|
102 |
+
* Bug fixed
|
103 |
+
|
104 |
= 1.15.3.1 =
|
105 |
* Role included in export
|
|
|
106 |
* test.csv improved
|
107 |
* Different code improvements
|
108 |
|