From 293dfbcfc5ccf4acd4bfcaa1fd94d7faa748037d Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 13 Jan 2012 11:28:23 +0000 Subject: [PATCH] Fix for default perms and price filter --- widgets/widget-price_filter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/widget-price_filter.php b/widgets/widget-price_filter.php index 5c4b3d25a3d..73f4f133c3a 100644 --- a/widgets/widget-price_filter.php +++ b/widgets/widget-price_filter.php @@ -124,6 +124,8 @@ class WooCommerce_Widget_Price_Filter extends WP_Widget { if (get_search_query()) $fields = ''; if (isset($_GET['post_type'])) $fields .= ''; + if (isset($_GET['product_cat'])) $fields .= ''; + if (isset($_GET['product_tag'])) $fields .= ''; if ($_chosen_attributes) foreach ($_chosen_attributes as $attribute => $data) :