Remove back-compat support for _date_paid and _date_complete as it conflicts with verify data logic.

This commit is contained in:
vedanshujain 2022-05-20 15:41:02 +05:30
parent 48c2e7962b
commit 781f97242d
1 changed files with 0 additions and 8 deletions

View File

@ -117,18 +117,10 @@ class PostToOrderOpTableMigrator extends MetaToCustomTableMigrator {
'type' => 'date_epoch',
'destination' => 'date_paid_gmt',
),
'_paid_date' => array( // For compatibility with WC < 2.6.
'type' => 'date',
'destination' => 'date_paid_gmt',
),
'_date_completed' => array(
'type' => 'date_epoch',
'destination' => 'date_completed_gmt',
),
'_completed_date' => array( // For compatibility with WC < 2.6.
'type' => 'date',
'destination' => 'date_completed_gmt',
),
'_order_shipping_tax' => array(
'type' => 'decimal',
'destination' => 'shipping_tax_amount',