Product Import Export for WooCommerce - Version 1.1.8

Version Description

  • Enhancement: Security improvements and bug fix.
Download this release

Release Info

Developer hikeforce
Plugin Icon 128x128 Product Import Export for WooCommerce
Version 1.1.8
Comparing to
See all releases

Code changes from version 1.1.7 to 1.1.8

Files changed (2) hide show
  1. product-csv-import-export.php +3 -2
  2. readme.txt +5 -1
product-csv-import-export.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.xadapter.com/product/product-import-export-plugin-for-woo
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: HikeForce
7
  Author URI: http://www.xadapter.com/vendor/hikeforce/
8
- Version: 1.1.7
9
  Text Domain: wf_csv_import_export
10
  */
11
 
@@ -115,7 +115,8 @@ if (in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', ge
115
  $user_ok = false;
116
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
117
  if ($current_user instanceof WP_User) {
118
- if (!empty(array_intersect($wf_roles, $current_user->roles))) {
 
119
  $user_ok = true;
120
  }
121
  }
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: HikeForce
7
  Author URI: http://www.xadapter.com/vendor/hikeforce/
8
+ Version: 1.1.8
9
  Text Domain: wf_csv_import_export
10
  */
11
 
115
  $user_ok = false;
116
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
117
  if ($current_user instanceof WP_User) {
118
+ $can_users = array_intersect($wf_roles, $current_user->roles);
119
+ if (!empty($can_users)) {
120
  $user_ok = true;
121
  }
122
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
5
  Requires at least: 3.0.1
6
  Tested up to: 4.6
7
- Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,6 +78,8 @@ Yes. You can import or export product images along with other details
78
  2. Product Export Screen
79
 
80
  == Changelog ==
 
 
81
  = 1.1.7 =
82
  * Enhancement: Security improvements.
83
  = 1.1.6 =
@@ -120,6 +122,8 @@ Yes. You can import or export product images along with other details
120
  * Import /Export Woocommerce Products.
121
 
122
  == Upgrade Notice ==
 
 
123
  = 1.1.7 =
124
  * Enhancement: Security improvements.
125
  = 1.1.6 =
4
  Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
5
  Requires at least: 3.0.1
6
  Tested up to: 4.6
7
+ Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
  2. Product Export Screen
79
 
80
  == Changelog ==
81
+ = 1.1.8 =
82
+ * Enhancement: Security improvements and bug fix.
83
  = 1.1.7 =
84
  * Enhancement: Security improvements.
85
  = 1.1.6 =
122
  * Import /Export Woocommerce Products.
123
 
124
  == Upgrade Notice ==
125
+ = 1.1.8 =
126
+ * Enhancement: Security improvements and bug fix.
127
  = 1.1.7 =
128
  * Enhancement: Security improvements.
129
  = 1.1.6 =