update from review feedback
This commit is contained in:
parent
d3ab19b7cf
commit
d8edcb4551
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
?>
|
||||
<p class="submit">
|
||||
<?php if ( empty( $GLOBALS['hide_save_button'] ) ) : ?>
|
||||
|
|
|
@ -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' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue