Change data migration to target WC 7.8 instead of 7.7

This commit is contained in:
Nestor Soriano 2023-05-05 10:08:22 +02:00
parent 7ce0828c98
commit d11cde28e8
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
2 changed files with 4 additions and 2 deletions

View File

@ -231,7 +231,9 @@ class WC_Install {
),
'7.7.0' => array(
'wc_update_770_remove_multichannel_marketing_feature_options',
'wc_update_770_delete_stray_order_records',
),
'7.8.0' => array(
'wc_update_780_delete_stray_order_records',
),
);

View File

@ -2599,7 +2599,7 @@ function wc_update_770_remove_multichannel_marketing_feature_options() {
*
* @return void
*/
function wc_update_770_delete_stray_order_records() {
function wc_update_780_delete_stray_order_records() {
global $wpdb;
$orders_table_name = OrdersTableDataStore::get_orders_table_name();