Import users from CSV with meta - Version 1.14.0.2

Version Description

  • get_users used memory improved filtering fields returned, thanks to @shortcutsolutions (https://wordpress.org/support/topic/import-page-no-longer-has-submit-button/#post-11309862)
Download this release

Release Info

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

Code changes from version 1.14.0.1 to 1.14.0.2

classes/cron.php CHANGED
@@ -187,7 +187,7 @@ class ACUI_Cron{
187
  else
188
  echo "<option value=''>" . __( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ) . "</option>";
189
 
190
- $blogusers = get_users();
191
 
192
  foreach ( $blogusers as $bloguser ) {
193
  if( $bloguser->ID == $cron_delete_users_assign_posts )
187
  else
188
  echo "<option value=''>" . __( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ) . "</option>";
189
 
190
+ $blogusers = get_users( array( 'fields' => array( 'ID', 'display_name' ) ) );
191
 
192
  foreach ( $blogusers as $bloguser ) {
193
  if( $bloguser->ID == $cron_delete_users_assign_posts )
classes/frontend.php CHANGED
@@ -90,7 +90,7 @@ class ACUI_Frontend{
90
  else
91
  echo "<option value=''>" . __( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ) . "</option>";
92
 
93
- $blogusers = get_users();
94
 
95
  foreach ( $blogusers as $bloguser ) {
96
  if( $bloguser->ID == $delete_users_assign_posts_frontend )
90
  else
91
  echo "<option value=''>" . __( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ) . "</option>";
92
 
93
+ $blogusers = get_users( array( 'fields' => array( 'ID', 'display_name' ) ) );
94
 
95
  foreach ( $blogusers as $bloguser ) {
96
  if( $bloguser->ID == $delete_users_assign_posts_frontend )
classes/homepage.php CHANGED
@@ -156,7 +156,7 @@ class ACUI_Homepage{
156
  <select id="delete_users_assign_posts" name="delete_users_assign_posts">
157
  <option value=''><?php _e( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ); ?></option>
158
  <?php
159
- $blogusers = get_users();
160
 
161
  foreach ( $blogusers as $bloguser ) {
162
  echo "<option value='{$bloguser->ID}'>{$bloguser->display_name}</option>";
156
  <select id="delete_users_assign_posts" name="delete_users_assign_posts">
157
  <option value=''><?php _e( 'Delete posts of deled users without assing to any user', 'import-users-from-csv-with-meta' ); ?></option>
158
  <?php
159
+ $blogusers = get_users( array( 'fields' => array( 'ID', 'display_name' ) ) );
160
 
161
  foreach ( $blogusers as $bloguser ) {
162
  echo "<option value='{$bloguser->ID}'>{$bloguser->display_name}</option>";
import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
- Version: 1.14.0.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
+ Version: 1.14.0.2
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://paypal.me/codection
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.1
7
- Stable tag: 1.14.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -74,6 +74,9 @@ Plugin will automatically detect:
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 1.14.0.1 =
78
  * Echo removed from class to prevent message on activation
79
 
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.1
7
+ Stable tag: 1.14.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.14.0.2 =
78
+ * get_users used memory improved filtering fields returned, thanks to @shortcutsolutions (https://wordpress.org/support/topic/import-page-no-longer-has-submit-button/#post-11309862)
79
+
80
  = 1.14.0.1 =
81
  * Echo removed from class to prevent message on activation
82