Version Description
- Fixed WC Depandency issue.
Download this release
Release Info
Developer | mujeebur |
Plugin | Import Export WordPress Users and WooCommerce Customers |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
customer-import-export.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
|
7 |
Author: XAdapter
|
8 |
Author URI: https://www.xadapter.com/
|
9 |
-
Version: 1.0.
|
10 |
Text Domain: wf_customer_import_export
|
11 |
*/
|
12 |
|
6 |
Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
|
7 |
Author: XAdapter
|
8 |
Author URI: https://www.xadapter.com/
|
9 |
+
Version: 1.0.9
|
10 |
Text Domain: wf_customer_import_export
|
11 |
*/
|
12 |
|
includes/importer/class-wf-customerimpexpcsv-customer-import.php
CHANGED
@@ -31,13 +31,15 @@ class WF_CustomerImpExpCsv_Customer_Import extends WP_Importer {
|
|
31 |
public function __construct() {
|
32 |
|
33 |
// Check that the class exists before trying to use it
|
34 |
-
if(
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
41 |
}
|
42 |
$this->import_page = 'wordpress_hf_user_csv';
|
43 |
$this->file_url_import_enabled = apply_filters('woocommerce_csv_product_file_url_import_enabled', true);
|
31 |
public function __construct() {
|
32 |
|
33 |
// Check that the class exists before trying to use it
|
34 |
+
if (function_exists('WC')) {
|
35 |
+
if(WC()->version < '3.0')
|
36 |
+
{
|
37 |
+
$this->log = new WC_Logger();
|
38 |
+
}
|
39 |
+
else
|
40 |
+
{
|
41 |
+
$this->log = wc_get_logger();
|
42 |
+
}
|
43 |
}
|
44 |
$this->import_page = 'wordpress_hf_user_csv';
|
45 |
$this->file_url_import_enabled = apply_filters('woocommerce_csv_product_file_url_import_enabled', true);
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WordPress Users & WooCommerce Customers Import Export(BASIC) ===
|
2 |
-
Contributors: xadapter,
|
3 |
Tags: CSV, Export, Import, WooCommerce Customers, Wordpress Users
|
4 |
Requires at least: 3.0.1
|
5 |
-
Tested up to: 4.9
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -124,6 +124,8 @@ Yes. You can import or export multiple user roles along with other basic user de
|
|
124 |
|
125 |
== Changelog ==
|
126 |
|
|
|
|
|
127 |
= 1.0.8 =
|
128 |
* Tested OK with WordPress 4.9
|
129 |
= 1.0.7 =
|
@@ -145,5 +147,5 @@ Yes. You can import or export multiple user roles along with other basic user de
|
|
145 |
|
146 |
== Upgrade Notice ==
|
147 |
|
148 |
-
= 1.0.
|
149 |
-
*
|
1 |
=== WordPress Users & WooCommerce Customers Import Export(BASIC) ===
|
2 |
+
Contributors: xadapter, mujeebur
|
3 |
Tags: CSV, Export, Import, WooCommerce Customers, Wordpress Users
|
4 |
Requires at least: 3.0.1
|
5 |
+
Tested up to: 4.9.2
|
6 |
+
Stable tag: 1.0.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
124 |
|
125 |
== Changelog ==
|
126 |
|
127 |
+
= 1.0.9 =
|
128 |
+
* Fixed WC Depandency issue.
|
129 |
= 1.0.8 =
|
130 |
* Tested OK with WordPress 4.9
|
131 |
= 1.0.7 =
|
147 |
|
148 |
== Upgrade Notice ==
|
149 |
|
150 |
+
= 1.0.9 =
|
151 |
+
* Fixed WC Depandency issue.
|