From 1d0384c4b75d27e16c61a4c4f1e23c7d2f5a4d69 Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Tue, 16 Nov 2021 13:22:29 +0000 Subject: [PATCH] Replace do_action_deprecated with the WC equivalent (#5151) --- src/StoreApi/Routes/Checkout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/StoreApi/Routes/Checkout.php b/src/StoreApi/Routes/Checkout.php index 2c57ae6ff35..2c7de7c4a66 100644 --- a/src/StoreApi/Routes/Checkout.php +++ b/src/StoreApi/Routes/Checkout.php @@ -248,7 +248,7 @@ protected function get_route_post_response( \WP_REST_Request $request ) { * @param \WC_Order $order Order object. * @deprecated 6.3.0 Use woocommerce_blocks_checkout_order_processed instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_order_processed', array( $this->order, @@ -423,7 +423,7 @@ private function create_or_update_draft_order() { * * @deprecated 6.3.0 Use woocommerce_blocks_checkout_update_order_meta instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_update_order_meta', array( $this->order, @@ -528,7 +528,7 @@ private function update_order_from_request( \WP_REST_Request $request ) { * * @deprecated 6.3.0 Use woocommerce_blocks_checkout_update_order_from_request instead. */ - do_action_deprecated( + wc_do_deprecated_action( '__experimental_woocommerce_blocks_checkout_update_order_from_request', array( $this->order,