Version Description
= 1.0 = * First installation
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.17.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.17 to 1.17.0.1
- classes/import.php +3 -1
classes/import.php
CHANGED
@@ -614,7 +614,9 @@ class ACUI_Import{
|
|
614 |
|
615 |
echo "<tr style='$styles' ><td>" . ($row - 1) . "</td>";
|
616 |
foreach ( $data as $element ){
|
617 |
-
if(
|
|
|
|
|
618 |
$element = implode ( ',' , $element );
|
619 |
|
620 |
$element = sanitize_textarea_field( $element );
|
614 |
|
615 |
echo "<tr style='$styles' ><td>" . ($row - 1) . "</td>";
|
616 |
foreach ( $data as $element ){
|
617 |
+
if( is_wp_error( $element ) )
|
618 |
+
$element = $element->get_error_message();
|
619 |
+
elseif( is_array( $element ) )
|
620 |
$element = implode ( ',' , $element );
|
621 |
|
622 |
$element = sanitize_textarea_field( $element );
|