From 7e2b4ba17c39012a292e2274896500c4e95bfc58 Mon Sep 17 00:00:00 2001 From: Nestor Soriano Date: Fri, 26 May 2023 11:13:53 +0200 Subject: [PATCH] Change references to Woo 7.7 to 7.9 --- plugins/woocommerce/includes/abstracts/abstract-wc-order.php | 2 +- plugins/woocommerce/includes/class-wc-install.php | 4 ++-- .../includes/data-stores/abstract-wc-order-data-store-cpt.php | 2 +- plugins/woocommerce/includes/wc-update-functions.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/woocommerce/includes/abstracts/abstract-wc-order.php b/plugins/woocommerce/includes/abstracts/abstract-wc-order.php index 60ce5cbeea3..6d0725034d3 100644 --- a/plugins/woocommerce/includes/abstracts/abstract-wc-order.php +++ b/plugins/woocommerce/includes/abstracts/abstract-wc-order.php @@ -106,7 +106,7 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order { /** * Indicates if set_parent_id will throw an error if no order exists with the supplied id. * - * @since 7.7.0 + * @since 7.9.0 * @var bool */ private $verify_parent_id = true; diff --git a/plugins/woocommerce/includes/class-wc-install.php b/plugins/woocommerce/includes/class-wc-install.php index 0a6bf898267..a559198e1b9 100644 --- a/plugins/woocommerce/includes/class-wc-install.php +++ b/plugins/woocommerce/includes/class-wc-install.php @@ -232,8 +232,8 @@ class WC_Install { '7.7.0' => array( 'wc_update_770_remove_multichannel_marketing_feature_options', ), - '7.8.0' => array( - 'wc_update_780_delete_stray_order_records', + '7.9.0' => array( + 'wc_update_790_delete_stray_order_records', ), ); diff --git a/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php b/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php index f86eaeef6a6..94b7b4e7040 100644 --- a/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php +++ b/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php @@ -109,7 +109,7 @@ abstract class Abstract_WC_Order_Data_Store_CPT extends WC_Data_Store_WP impleme /** * Check if an order exists by id. * - * @since 7.7.0 + * @since 7.9.0 * * @param int $order_id The order id to check. * @return bool True if an order exists with the given name. diff --git a/plugins/woocommerce/includes/wc-update-functions.php b/plugins/woocommerce/includes/wc-update-functions.php index 546b8270ce4..d358709b5ba 100644 --- a/plugins/woocommerce/includes/wc-update-functions.php +++ b/plugins/woocommerce/includes/wc-update-functions.php @@ -2596,7 +2596,7 @@ function wc_update_770_remove_multichannel_marketing_feature_options() { * * @return void */ -function wc_update_780_delete_stray_order_records() { +function wc_update_790_delete_stray_order_records() { global $wpdb; $orders_table_name = OrdersTableDataStore::get_orders_table_name();