From 8206eb2975259303e8edd3e5b4e7a4c8e298bac1 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 30 Sep 2011 15:14:12 -0400 Subject: [PATCH] Some missed escaping points in widgets. --- widgets/widget-price_filter.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/widgets/widget-price_filter.php b/widgets/widget-price_filter.php index c4196a896e2..0493e9bfe56 100644 --- a/widgets/widget-price_filter.php +++ b/widgets/widget-price_filter.php @@ -118,11 +118,11 @@ class WooCommerce_Widget_Price_Filter extends WP_Widget { $fields = ''; if (get_search_query()) $fields = ''; - if (isset($_GET['post_type'])) $fields .= ''; + if (isset($_GET['post_type'])) $fields .= ''; if ($_chosen_attributes) foreach ($_chosen_attributes as $attribute => $value) : - $fields .= ''; + $fields .= ''; endforeach; @@ -139,13 +139,13 @@ class WooCommerce_Widget_Price_Filter extends WP_Widget { ) )")); - echo '
+ echo '
'.__('Price: ', 'woothemes').' - - + + '.$fields.'