Import Export WordPress Users and WooCommerce Customers - Version 1.3.5

Version Description

  • provision to export for Super Admin.
  • Tested OK with WC 3.8.1 and WP 5.3
Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.5

includes/exporter/data/data-wf-post-columns.php CHANGED
File without changes
includes/importer/class-wf-csv-parser.php CHANGED
File without changes
includes/importer/class-wf-customerimpexpcsv-customer-import.php CHANGED
File without changes
includes/importer/data/data-wf-reserved-fields-pair.php CHANGED
File without changes
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webtoffee
3
  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.2.4
7
- Stable tag: 1.3.4
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.8
23
  &#128312; Tested OK with PHP 7.3.5
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.
@@ -158,10 +158,13 @@ By default, admin and store manager are given access to export users. Please vis
158
 
159
  == Changelog ==
160
 
 
 
 
161
  = 1.3.4 =
162
  * Tested OK with WC 3.8 and WP 5.2.4
163
  * Content Update.
164
- * Improvment:- Option to select all and deselect all columns on export page.
165
  = 1.3.3 =
166
  * Tested OK with WC 3.7.1 and WP 5.2.3
167
  * Biographical Info – reported by (@krsh333 and @wadehammes)
3
  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.3
7
+ Stable tag: 1.3.5
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.8.1
23
  &#128312; Tested OK with PHP 7.3.5
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.
158
 
159
  == Changelog ==
160
 
161
+ = 1.3.5 =
162
+ * provision to export for Super Admin.
163
+ * Tested OK with WC 3.8.1 and WP 5.3
164
  = 1.3.4 =
165
  * Tested OK with WC 3.8 and WP 5.2.4
166
  * Content Update.
167
+ * Improvement:- Option to select all and deselect all columns on export page.
168
  = 1.3.3 =
169
  * Tested OK with WC 3.7.1 and WP 5.2.3
170
  * Biographical Info – reported by (@krsh333 and @wadehammes)
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.3.4
10
- WC tested up to: 3.8
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.3.3");
40
  }
41
 
42
 
@@ -166,11 +166,13 @@ if (!class_exists('WF_Customer_Import_Export_CSV')) :
166
  private function hf_user_permission() {
167
  // Check if user has rights to export
168
  $current_user = wp_get_current_user();
 
 
169
  $user_ok = false;
170
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
171
  if ($current_user instanceof WP_User) {
172
  $can_users = array_intersect($wf_roles, $current_user->roles);
173
- if (!empty($can_users)) {
174
  $user_ok = true;
175
  }
176
  }
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.3.5
10
+ WC tested up to: 3.8.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.3.5");
40
  }
41
 
42
 
166
  private function hf_user_permission() {
167
  // Check if user has rights to export
168
  $current_user = wp_get_current_user();
169
+ $current_user->roles = apply_filters('hf_add_user_roles', $current_user->roles);
170
+ $current_user->roles = array_unique($current_user->roles);
171
  $user_ok = false;
172
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
173
  if ($current_user instanceof WP_User) {
174
  $can_users = array_intersect($wf_roles, $current_user->roles);
175
+ if (!empty($can_users) || is_super_admin($current_user->ID)) {
176
  $user_ok = true;
177
  }
178
  }