From 9a3b796bf4e420fee9cfdec80e99f73c64f0d5ff Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 12 Mar 2014 13:17:53 +0000 Subject: [PATCH] Pass args through for deprecated function Closes #5087 --- includes/wc-deprecated-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/wc-deprecated-functions.php b/includes/wc-deprecated-functions.php index 296a2598552..df1447a8c54 100644 --- a/includes/wc-deprecated-functions.php +++ b/includes/wc-deprecated-functions.php @@ -338,8 +338,8 @@ function woocommerce_deprecated_filter_mapping( $data, $arg_1 = '', $arg_2 = '', function woocommerce_product_dropdown_categories( $args = array(), $deprecated_hierarchical = 1, $deprecated_show_uncategorized = 1, $deprecated_orderby = '' ) { return wc_product_dropdown_categories( $args, $deprecated_hierarchical, $deprecated_show_uncategorized, $deprecated_orderby ); } -function woocommerce_walk_category_dropdown_tree() { - return wc_walk_category_dropdown_tree(); +function woocommerce_walk_category_dropdown_tree( $a1 = '', $a2 = '', $a3 = '' ) { + return wc_walk_category_dropdown_tree( $a1, $a2, $a3 ); } function woocommerce_taxonomy_metadata_wpdbfix() { return wc_taxonomy_metadata_wpdbfix();