From d8edcb45511a5d3569dd243442a970619f95aa19 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Mon, 27 Jul 2020 16:48:39 -0300 Subject: [PATCH] update from review feedback --- includes/admin/class-wc-admin-post-types.php | 2 +- includes/admin/views/html-admin-settings.php | 2 +- includes/class-wc-order-item-meta.php | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/admin/class-wc-admin-post-types.php b/includes/admin/class-wc-admin-post-types.php index 00e891c1c2c..8746ab5d134 100644 --- a/includes/admin/class-wc-admin-post-types.php +++ b/includes/admin/class-wc-admin-post-types.php @@ -895,7 +895,7 @@ class WC_Admin_Post_Types { * @deprecated 3.3.0 and moved to post-data class. */ public function process_product_file_download_paths( $product_id, $variation_id, $downloadable_files ) { - wc_deprecated_function( 'WC_Admin_Post_Types::process_product_file_download_paths', '3.3', 'WC_Post_Data::process_product_file_download_paths' ); + wc_deprecated_function( 'WC_Admin_Post_Types::process_product_file_download_paths', '3.3', '' ); WC_Post_Data::process_product_file_download_paths( $product_id, $variation_id, $downloadable_files ); } diff --git a/includes/admin/views/html-admin-settings.php b/includes/admin/views/html-admin-settings.php index 823726b1444..ff854fe5718 100644 --- a/includes/admin/views/html-admin-settings.php +++ b/includes/admin/views/html-admin-settings.php @@ -38,7 +38,7 @@ if ( ! $tab_exists ) { self::show_messages(); do_action( 'woocommerce_settings_' . $current_tab ); - do_action( 'woocommerce_settings_tabs_' . $current_tab ); // @deprecated 3.4.0 hook. @todo remove in 4.6.0. + do_action( 'woocommerce_settings_tabs_' . $current_tab ); // @deprecated 3.4.0 hook. ?>

diff --git a/includes/class-wc-order-item-meta.php b/includes/class-wc-order-item-meta.php index a00fb5d9e6d..2d2f72f03f9 100644 --- a/includes/class-wc-order-item-meta.php +++ b/includes/class-wc-order-item-meta.php @@ -163,13 +163,11 @@ class WC_Order_Item_Meta { * Return an array of formatted item meta in format e.g. * Handles @deprecated args. * - * @deprecated 4.4.0 * @param string $hideprefix Hide prefix. * * @return array */ public function get_formatted_legacy( $hideprefix = '_' ) { - wc_deprecated_function( 'WC_Order_Item_Product::get_formatted_legacy', '4.4.0', '' ); if ( ! is_ajax() ) { wc_deprecated_argument( 'WC_Order_Item_Meta::get_formatted', '2.4', 'Item Meta Data is being called with legacy arguments' ); }