Product Import Export for WooCommerce - Version 1.3.9

Version Description

  • BugFix: Invalid argument for foreach loop
Download this release

Release Info

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

Code changes from version 1.3.8 to 1.3.9

includes/importer/class-wf-csv-parser.php CHANGED
@@ -93,11 +93,14 @@ class WF_CSV_Parser {
93
  $s_heading = esc_attr( $mapping[$s_heading] );
94
  }
95
  }
 
 
96
  foreach ($mapping as $mkey => $mvalue) {
97
  if(trim($mvalue) === trim($heading)){
98
  $s_heading = $mkey;
99
  }
100
  }
 
101
 
102
  if ( $s_heading == '' )
103
  continue;
93
  $s_heading = esc_attr( $mapping[$s_heading] );
94
  }
95
  }
96
+ if( !empty($mapping) )
97
+ {
98
  foreach ($mapping as $mkey => $mvalue) {
99
  if(trim($mvalue) === trim($heading)){
100
  $s_heading = $mkey;
101
  }
102
  }
103
+ }
104
 
105
  if ( $s_heading == '' )
106
  continue;
product-csv-import-export.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.xadapter.com/product/product-import-export-plugin-for-wo
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: XAdapter
7
  Author URI: https://www.xadapter.com/
8
- Version: 1.3.8
9
  Text Domain: wf_csv_import_export
10
  */
11
 
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: XAdapter
7
  Author URI: https://www.xadapter.com/
8
+ Version: 1.3.9
9
  Text Domain: wf_csv_import_export
10
  */
11
 
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,import export
5
  Requires at least: 3.0.1
6
  Tested up to: 4.8
7
- Stable tag: 1.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -85,6 +85,8 @@ Yes. You can import or export product images along with other details
85
  3. Premium Export Settings Screen
86
 
87
  == Changelog ==
 
 
88
  = 1.3.8 =
89
  * BugFix: Product not importing at 100n. n=1,2...
90
  = 1.3.7 =
@@ -159,6 +161,8 @@ Yes. You can import or export product images along with other details
159
  * Import /Export Woocommerce Products.
160
 
161
  == Upgrade Notice ==
 
 
162
  = 1.3.8 =
163
  * BugFix: Product not importing at 100n. n=1,2...
164
  = 1.3.7 =
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,import export
5
  Requires at least: 3.0.1
6
  Tested up to: 4.8
7
+ Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
85
  3. Premium Export Settings Screen
86
 
87
  == Changelog ==
88
+ = 1.3.9 =
89
+ * BugFix: Invalid argument for foreach loop
90
  = 1.3.8 =
91
  * BugFix: Product not importing at 100n. n=1,2...
92
  = 1.3.7 =
161
  * Import /Export Woocommerce Products.
162
 
163
  == Upgrade Notice ==
164
+ = 1.3.9 =
165
+ * BugFix: Invalid argument for foreach loop
166
  = 1.3.8 =
167
  * BugFix: Product not importing at 100n. n=1,2...
168
  = 1.3.7 =