Import Export WordPress Users and WooCommerce Customers - Version 1.2.8

Version Description

  • Tested OK with WC 3.6.1
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Import Export WordPress Users and WooCommerce Customers
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

includes/importer/class-wf-csv-parser.php CHANGED
@@ -190,18 +190,18 @@ class WF_CSV_Parser {
190
  $row++;
191
  if ( $row <= $record_offset ) {
192
  if($WF_CSV_User_Import->log)
193
- $WF_CSV_User_Import->log->add( 'user-csv-import', sprintf( __( '> Row %s - skipped due to record offset.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
194
  unset($item);
195
  return;
196
  }
197
  if ( empty($item['user_email']) ) {
198
  if($WF_CSV_User_Import->log)
199
- $WF_CSV_User_Import->log->add( 'user-csv-import', sprintf( __( '> Row %s - skipped: cannot insert user without email.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
200
  unset($item);
201
  return;
202
  }elseif(!is_email($item['user_email'])){
203
  if($WF_CSV_User_Import->log)
204
- $WF_CSV_User_Import->log->add( 'user-csv-import', sprintf( __( '> Row %s - skipped: Email is not valid.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
205
  unset($item);
206
  return;
207
  }
190
  $row++;
191
  if ( $row <= $record_offset ) {
192
  if($WF_CSV_User_Import->log)
193
+ $WF_CSV_User_Import->hf_log_data_change( 'user-csv-import', sprintf( __( '> Row %s - skipped due to record offset.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
194
  unset($item);
195
  return;
196
  }
197
  if ( empty($item['user_email']) ) {
198
  if($WF_CSV_User_Import->log)
199
+ $WF_CSV_User_Import->hf_log_data_change( 'user-csv-import', sprintf( __( '> Row %s - skipped: cannot insert user without email.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
200
  unset($item);
201
  return;
202
  }elseif(!is_email($item['user_email'])){
203
  if($WF_CSV_User_Import->log)
204
+ $WF_CSV_User_Import->hf_log_data_change( 'user-csv-import', sprintf( __( '> Row %s - skipped: Email is not valid.', 'users-customers-import-export-for-wp-woocommerce' ), $row ) );
205
  unset($item);
206
  return;
207
  }
includes/importer/class-wf-customerimpexpcsv-customer-import.php CHANGED
@@ -33,7 +33,7 @@ class WF_CustomerImpExpCsv_Customer_Import extends WP_Importer {
33
 
34
  // Check that the class exists before trying to use it
35
  if (function_exists('WC')) {
36
- if(WC()->version < '3.0')
37
  {
38
  $this->log = new WC_Logger();
39
  }
33
 
34
  // Check that the class exists before trying to use it
35
  if (function_exists('WC')) {
36
+ if(WC()->version < '2.7.0')
37
  {
38
  $this->log = new WC_Logger();
39
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.webtoffee.com/plugins/
4
  Tags: Export Users to CSV, Import Users from CSV, woocommerce export customers, user export, export import users, woocommerce import customers, woocommerce export customer email
5
  Requires at least: 3.0.1
6
  Tested up to: 5.1.1
7
- Stable tag: 1.2.7
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -19,7 +19,7 @@ Import users and export users made fast and simple! Import Export WordPress User
19
 
20
  &#128312; Users Export - Export Users to CSV file.</li>
21
  &#128312; Users import - Import Users from CSV format to WordPress/WooCommerce Store.
22
- &#128312; Tested OK with WooCommerce 3.5.7
23
  &#128312; Tested OK with PHP 7.3.3
24
 
25
  Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
@@ -149,6 +149,8 @@ No. You may want to use https://wordpress.org/plugins/order-import-export-for-wo
149
 
150
  == Changelog ==
151
 
 
 
152
  = 1.2.7 =
153
  * Bug Fix:- Encoding issue with export CSV.
154
  = 1.2.6 =
@@ -219,5 +221,5 @@ No. You may want to use https://wordpress.org/plugins/order-import-export-for-wo
219
 
220
  == Upgrade Notice ==
221
 
222
- = 1.2.7 =
223
- * Bug Fix:- Encoding issue with export CSV.
4
  Tags: Export Users to CSV, Import Users from CSV, woocommerce export customers, user export, export import users, woocommerce import customers, woocommerce export customer email
5
  Requires at least: 3.0.1
6
  Tested up to: 5.1.1
7
+ Stable tag: 1.2.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
19
 
20
  &#128312; Users Export - Export Users to CSV file.</li>
21
  &#128312; Users import - Import Users from CSV format to WordPress/WooCommerce Store.
22
+ &#128312; Tested OK with WooCommerce 3.6.1
23
  &#128312; Tested OK with PHP 7.3.3
24
 
25
  Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
149
 
150
  == Changelog ==
151
 
152
+ = 1.2.8 =
153
+ * Tested OK with WC 3.6.1
154
  = 1.2.7 =
155
  * Bug Fix:- Encoding issue with export CSV.
156
  = 1.2.6 =
221
 
222
  == Upgrade Notice ==
223
 
224
+ = 1.2.8 =
225
+ * Tested OK with WC 3.6.1
users-customers-import-export-for-wp-woocommerce.php CHANGED
@@ -6,8 +6,8 @@
6
  Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
9
- Version: 1.2.7
10
- WC tested up to: 3.5.7
11
  Text Domain: users-customers-import-export-for-wp-woocommerce
12
  License: GPLv3
13
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -36,7 +36,7 @@ if( !defined('WF_CUSTOMER_IMP_EXP_ID') )
36
 
37
  if( !defined('WF_CUSTOMER_IMP_EXP_VERSION') )
38
  {
39
- define("WF_CUSTOMER_IMP_EXP_VERSION", "1.2.7");
40
  }
41
 
42
 
6
  Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
9
+ Version: 1.2.8
10
+ WC tested up to: 3.6.1
11
  Text Domain: users-customers-import-export-for-wp-woocommerce
12
  License: GPLv3
13
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
36
 
37
  if( !defined('WF_CUSTOMER_IMP_EXP_VERSION') )
38
  {
39
+ define("WF_CUSTOMER_IMP_EXP_VERSION", "1.2.8");
40
  }
41
 
42