Import users from CSV with meta - Version 1.19.2.4

Version Description

  • Fixed a notice in the new user page if you are using custom fields created by the plugin
Download this release

Release Info

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

Code changes from version 1.19.2.3 to 1.19.2.4

classes/columns.php CHANGED
@@ -178,10 +178,11 @@ class ACUI_Columns{
178
  continue;
179
 
180
  $column = esc_html( $column );
 
181
  ?>
182
  <tr>
183
  <th><label for="<?php echo $column; ?>"><?php echo $column; ?></label></th>
184
- <td><input type="text" name="<?php echo $column; ?>" id="<?php echo $column; ?>" value="<?php echo esc_attr( ACUI_Helper::show_meta( $user->ID, $column ) ); ?>" class="regular-text" <?php echo apply_filters( 'acui_columns_field_extra_attributes', '', $column ); ?>/></td>
185
  </tr>
186
  <?php
187
  endforeach;
178
  continue;
179
 
180
  $column = esc_html( $column );
181
+ $value = is_a( $user, 'WP_User' ) ? esc_attr( ACUI_Helper::show_meta( $user->ID, $column ) ) : '';
182
  ?>
183
  <tr>
184
  <th><label for="<?php echo $column; ?>"><?php echo $column; ?></label></th>
185
+ <td><input type="text" name="<?php echo $column; ?>" id="<?php echo $column; ?>" value="<?php echo $value; ?>" class="regular-text" <?php echo apply_filters( 'acui_columns_field_extra_attributes', '', $column ); ?>/></td>
186
  </tr>
187
  <?php
188
  endforeach;
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.19.2.3
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -11,10 +11,11 @@ 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
 
17
- define( 'ACUI_VERSION', '1.19.2.3' );
18
 
19
  class ImportExportUsersCustomers{
20
  var $file;
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.19.2.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
 
18
+ define( 'ACUI_VERSION', '1.19.2.4' );
19
 
20
  class ImportExportUsersCustomers{
21
  var $file;
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.9.3
7
- Stable tag: 1.19.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,9 @@ Plugin will automatically detect:
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 1.19.2.3 =
111
  * Improved the WooCommerce addon when working with force reset new password
112
 
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.9.3
7
+ Stable tag: 1.19.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.19.2.4 =
111
+ * Fixed a notice in the new user page if you are using custom fields created by the plugin
112
+
113
  = 1.19.2.3 =
114
  * Improved the WooCommerce addon when working with force reset new password
115