This was not needed after all.

This commit is contained in:
Mike Jolley 2018-04-26 17:18:39 +01:00
parent b4657d5a42
commit 970a77b43b
1 changed files with 0 additions and 2 deletions

View File

@ -682,8 +682,6 @@ class WC_Product_CSV_Importer extends WC_Product_Importer {
$data['status'] = isset( $statuses[ $data['published'] ] ) ? $statuses[ $data['published'] ] : -1;
unset( $data['published'] );
} else {
$data['status'] = 'publish';
}
if ( isset( $data['stock_quantity'] ) ) {