Import users from CSV with meta - Version 1.17.3.3

Version Description

  • Improved messages when deleting users not present in CSV
  • Fixed error when a WP_Error appear into an array, when the array is being printed
Download this release

Release Info

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

Code changes from version 1.17.3.2 to 1.17.3.3

classes/cron.php CHANGED
@@ -302,7 +302,7 @@ class ACUI_Cron{
302
  }
303
  ?>
304
  </select>
305
- <p class="description"><?php _e( 'After delete users, we can choose if we want to assign their posts to another user. Please do not delete them or posts will be deleted.', 'import-users-from-csv-with-meta' ); ?></p>
306
  </div>
307
  </td>
308
  </tr>
302
  }
303
  ?>
304
  </select>
305
+ <p class="description"><?php _e( 'Administrators will not be deleted anyway. After delete users, we can choose if we want to assign their posts to another user. If you do not choose some user, content will be deleted.', 'import-users-from-csv-with-meta' ); ?></p>
306
  </div>
307
  </td>
308
  </tr>
classes/helper.php CHANGED
@@ -219,8 +219,13 @@ class ACUI_Helper{
219
  foreach ( $data as $element ){
220
  if( is_wp_error( $element ) )
221
  $element = $element->get_error_message();
222
- elseif( is_array( $element ) )
223
- $element = implode ( ',' , $element );
 
 
 
 
 
224
 
225
  $element = sanitize_textarea_field( $element );
226
  echo "<td>$element</td>";
219
  foreach ( $data as $element ){
220
  if( is_wp_error( $element ) )
221
  $element = $element->get_error_message();
222
+ elseif( is_array( $element ) ){
223
+ try{
224
+ $element = implode( ',' , $element );
225
+ }catch( Exception $e ){
226
+ $element = $e->getMessage();
227
+ }
228
+ }
229
 
230
  $element = sanitize_textarea_field( $element );
231
  echo "<td>$element</td>";
classes/homepage.php CHANGED
@@ -167,7 +167,7 @@ class ACUI_Homepage{
167
  }
168
  ?>
169
  </select>
170
- <p class="description"><?php _e( 'After delete users, we can choose if we want to assign their posts to another user. Please do not delete them or posts will be deleted.', 'import-users-from-csv-with-meta' ); ?></p>
171
  </div>
172
  </td>
173
  </tr>
167
  }
168
  ?>
169
  </select>
170
+ <p class="description"><?php _e( 'Administrators will not be deleted anyway. After delete users, we can choose if we want to assign their posts to another user. If you do not choose some user, content will be deleted.', 'import-users-from-csv-with-meta' ); ?></p>
171
  </div>
172
  </td>
173
  </tr>
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.17.3.2
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
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.17.3.3
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
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.6
7
- Stable tag: 1.17.3.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.17.3.2 =
107
  * Improved BuddyPress group management when importing, now you can remove users from a group
108
  * Improved BuddyPress import, now you can use group ids and not only group slugs
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.6.2
7
+ Stable tag: 1.17.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.17.3.3 =
107
+ * Improved messages when deleting users not present in CSV
108
+ * Fixed error when a WP_Error appear into an array, when the array is being printed
109
+
110
  = 1.17.3.2 =
111
  * Improved BuddyPress group management when importing, now you can remove users from a group
112
  * Improved BuddyPress import, now you can use group ids and not only group slugs