Revert debug code

This commit is contained in:
Mike Jolley 2019-02-14 15:58:53 +00:00
parent 2a0ba812a3
commit 46d5a4c596
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
$query_hash = md5( $query );
// Maybe store a transient of the count values.
$cache = false;//apply_filters( 'woocommerce_layered_nav_count_maybe_cache', true );
$cache = apply_filters( 'woocommerce_layered_nav_count_maybe_cache', true );
if ( true === $cache ) {
$cached_counts = (array) get_transient( 'wc_layered_nav_counts_' . sanitize_title( $taxonomy ) );
} else {