From 781f97242dd046e86d9dc376854cc192b821b638 Mon Sep 17 00:00:00 2001 From: vedanshujain Date: Fri, 20 May 2022 15:41:02 +0530 Subject: [PATCH] Remove back-compat support for _date_paid and _date_complete as it conflicts with verify data logic. --- .../CustomOrderTable/PostToOrderOpTableMigrator.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php b/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php index 760abd86008..05f22f6d1d0 100644 --- a/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php +++ b/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php @@ -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',