Version Description
- Fixed problem importing ACF text fields
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.16.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.16.1.3 to 1.16.1.4
- addons/advanced-custom-fields.php +2 -1
- import-users-from-csv-with-meta.php +2 -1
- readme.txt +4 -1
addons/advanced-custom-fields.php
CHANGED
@@ -55,7 +55,6 @@ class ACUI_ACF{
|
|
55 |
|
56 |
foreach ( $fields_positions as $pos => $key ) {
|
57 |
$data = explode( ',', $row[ $pos ] );
|
58 |
-
$data = array_filter( $data, function( $value ){ return $value !== ''; } );
|
59 |
|
60 |
// slugs in relationship
|
61 |
if( $types[ $key ] == 'relationship' && (string)(int)$data[0] != $data[0] ){
|
@@ -69,6 +68,8 @@ class ACUI_ACF{
|
|
69 |
$data = array_unique( array_merge( $preexisting_values, $data ) );
|
70 |
$data = array_filter( $data, function( $value ) { return !is_null( $value ) && $value !== '' && $value != 0; } );
|
71 |
}
|
|
|
|
|
72 |
|
73 |
update_field( $key, $data, "user_" . $user_id );
|
74 |
}
|
55 |
|
56 |
foreach ( $fields_positions as $pos => $key ) {
|
57 |
$data = explode( ',', $row[ $pos ] );
|
|
|
58 |
|
59 |
// slugs in relationship
|
60 |
if( $types[ $key ] == 'relationship' && (string)(int)$data[0] != $data[0] ){
|
68 |
$data = array_unique( array_merge( $preexisting_values, $data ) );
|
69 |
$data = array_filter( $data, function( $value ) { return !is_null( $value ) && $value !== '' && $value != 0; } );
|
70 |
}
|
71 |
+
|
72 |
+
$data = ( sizeof( $data ) > 1 ) ? array_filter( $data, function( $value ){ return $value !== ''; } ) : $data[0];
|
73 |
|
74 |
update_field( $key, $data, "user_" . $user_id );
|
75 |
}
|
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.16.1.
|
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 |
|
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.16.1.4
|
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 |
|
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.5.1
|
7 |
-
Stable tag: 1.16.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -99,6 +99,9 @@ Plugin will automatically detect:
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
102 |
= 1.16.1.3 =
|
103 |
* BuddyPress member type is now included in the export
|
104 |
|
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.5.1
|
7 |
+
Stable tag: 1.16.1.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 1.16.1.4 =
|
103 |
+
* Fixed problem importing ACF text fields
|
104 |
+
|
105 |
= 1.16.1.3 =
|
106 |
* BuddyPress member type is now included in the export
|
107 |
|