Fix duplicated custom fields after import products from .csv file

This commit is contained in:
Sergey Ratushnuy 2020-01-29 13:09:27 +02:00
parent bd647cd9cf
commit c2f857a4d8
1 changed files with 0 additions and 1 deletions

View File

@ -577,7 +577,6 @@ class WC_Product_CSV_Importer_Controller {
$headers = array();
foreach ( $raw_headers as $key => $field ) {
$field = strtolower( $field );
$index = $num_indexes ? $key : $field;
$headers[ $index ] = $field;