Import users from CSV with meta - Version 1.20.5

Version Description

  • Improved the way the plugin sanitize values when exporting data to avoid any formula (for spreadsheets) to be exported
Download this release

Release Info

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

Code changes from version 1.20.4 to 1.20.5

classes/batch_exporter.php CHANGED
@@ -642,10 +642,10 @@ class ACUI_Batch_Exporter{
642
  if( strlen( $value ) == 0 )
643
  return $value;
644
 
645
- $bad_characters = array( '+', '-', '=', '@' );
646
  $first_character = substr( $value, 0, 1 );
647
  if( in_array( $first_character, $bad_characters ) )
648
- $value = "\\" . $first_character . substr( $value, 1 );
649
 
650
  return $value;
651
  }
642
  if( strlen( $value ) == 0 )
643
  return $value;
644
 
645
+ $bad_characters = array( "\t", "\r", "+", "-", "=", "@" );
646
  $first_character = substr( $value, 0, 1 );
647
  if( in_array( $first_character, $bad_characters ) )
648
+ $value = "'" . $first_character . substr( $value, 1 );
649
 
650
  return $value;
651
  }
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.20.4
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  if ( ! defined( 'ABSPATH' ) )
15
  exit;
16
 
17
- define( 'ACUI_VERSION', '1.20.4' );
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.20.5
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
14
  if ( ! defined( 'ABSPATH' ) )
15
  exit;
16
 
17
+ define( 'ACUI_VERSION', '1.20.5' );
18
 
19
  class ImportExportUsersCustomers{
20
  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: 6.0.2
7
- Stable tag: 1.20.4
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.20.4 =
111
  * Improved error handling to avoid the use of wp_die in some error handling and allow for better UX.
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: 6.0.2
7
+ Stable tag: 1.20.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.20.5 =
111
+ * Improved the way the plugin sanitize values when exporting data to avoid any formula (for spreadsheets) to be exported
112
+
113
  = 1.20.4 =
114
  * Improved error handling to avoid the use of wp_die in some error handling and allow for better UX.
115