woocommerce/includes/widgets
Rodrigo Primo 20fd569a55 Fix clearing filters in "Filter products by attribute" widget
This commit fixes an issue that was making it impossible to clear filters in the "Filter products by attribute" widget when the attribute name contained non-ASCII characters. The problem was caused by a call to sanitize_title() which doesn't seem necessary as it is sanitizing one of the widget parameters which is already sanitized in 679d719368/includes/widgets/class-wc-widget-layered-nav.php (L116). So this commit simply removes the sanitize_title() call. Even if we needed to sanitize the variable `$taxonomy`, it would be better to use sanitize_text_input_field() or wc_sanitize_taxonomy_name() as sanitize_title() will replace accented characters.

For more about the problem that is fixed by this commit see #21028
2018-08-14 11:45:57 -03:00
..
class-wc-widget-cart.php Fixed class-wc-widget-layered-nav-filters.php PHPCS violations 2018-03-09 16:56:15 -03:00
class-wc-widget-layered-nav-filters.php Fixed class-wc-widget-layered-nav-filters.php PHPCS violations 2018-03-09 16:56:15 -03:00
class-wc-widget-layered-nav.php Fix clearing filters in "Filter products by attribute" widget 2018-08-14 11:45:57 -03:00
class-wc-widget-price-filter.php Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-03-29 12:05:55 -03:00
class-wc-widget-product-categories.php Rredirect to shop page when product categories dropdown filter is cleared. 2018-06-26 11:54:04 +02:00
class-wc-widget-product-search.php Fixed class-wc-widget-product-search.php PHPCS violations 2018-03-09 17:29:16 -03:00
class-wc-widget-product-tag-cloud.php Fixed class-wc-widget-products.php PHPCS violations 2018-03-09 17:41:07 -03:00
class-wc-widget-products.php Fixed class-wc-widget-products.php PHPCS violations 2018-03-09 17:41:07 -03:00
class-wc-widget-rating-filter.php Fixed class-wc-widget-rating-filter.php PHPCS violations 2018-03-09 17:43:52 -03:00
class-wc-widget-recent-reviews.php Recent Product Reviews template 2018-04-13 14:20:46 +03:00
class-wc-widget-recently-viewed.php Fixed class-wc-widget-recently-viewed.php PHPCS violations 2018-03-09 17:48:28 -03:00
class-wc-widget-top-rated-products.php Fixed class-wc-widget-top-rated-products.php PHPCS violations 2018-03-09 17:50:02 -03:00