Import users from CSV with meta - Version 1.15.7.2

Version Description

  • UTF-8 fixed exporting users
Download this release

Release Info

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

Code changes from version 1.15.7.1 to 1.15.7.2

classes/export.php CHANGED
@@ -190,18 +190,20 @@ class ACUI_Exporter{
190
 
191
  $fsize = filesize( $this->path_csv );
192
  $path_parts = pathinfo( $this->path_csv );
193
- header( "Content-type: text/csv" );
194
  header( "Content-Disposition: attachment; filename=\"".$path_parts["basename"]."\"" );
195
  header( "Content-length: $fsize" );
196
  header( "Cache-control: private" );
197
- header('Content-Description: File Transfer');
198
- header('Content-Transfer-Encoding: binary');
199
- header('Expires: 0');
200
- header('Cache-Control: must-revalidate');
201
- header('Pragma: public');
202
 
203
  ob_clean();
204
  flush();
 
 
205
  readfile( $this->path_csv );
206
 
207
  unlink( $this->path_csv );
190
 
191
  $fsize = filesize( $this->path_csv );
192
  $path_parts = pathinfo( $this->path_csv );
193
+ header( "Content-type: text/csv;charset=utf-8" );
194
  header( "Content-Disposition: attachment; filename=\"".$path_parts["basename"]."\"" );
195
  header( "Content-length: $fsize" );
196
  header( "Cache-control: private" );
197
+ header( "Content-Description: File Transfer" );
198
+ header( "Content-Transfer-Encoding: binary" );
199
+ header( "Expires: 0" );
200
+ header( "Cache-Control: must-revalidate" );
201
+ header( "Pragma: public" );
202
 
203
  ob_clean();
204
  flush();
205
+
206
+ echo "\xEF\xBB\xBF";
207
  readfile( $this->path_csv );
208
 
209
  unlink( $this->path_csv );
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.15.7.1
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.15.7.2
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
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.4.2
7
- Stable tag: 1.15.7.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -99,6 +99,9 @@ Plugin will automatically detect:
99
 
100
  == Changelog ==
101
 
 
 
 
102
  = 1.15.7.1 =
103
  * Bug fixed: after importing new customers, new WooCommerce tables was not populated properly and they were not shown in the "Customers" list into WooCommerce, thanks for reporting @movementoweb (https://wordpress.org/support/topic/usuarios-importados-con-rol-de-cliente-customer-no-se-muestran-en-woocommerce/)
104
 
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.4.2
7
+ Stable tag: 1.15.7.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
99
 
100
  == Changelog ==
101
 
102
+ = 1.15.7.2 =
103
+ * UTF-8 fixed exporting users
104
+
105
  = 1.15.7.1 =
106
  * Bug fixed: after importing new customers, new WooCommerce tables was not populated properly and they were not shown in the "Customers" list into WooCommerce, thanks for reporting @movementoweb (https://wordpress.org/support/topic/usuarios-importados-con-rol-de-cliente-customer-no-se-muestran-en-woocommerce/)
107