Revert debug code
This commit is contained in:
parent
2a0ba812a3
commit
46d5a4c596
|
@ -417,7 +417,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
||||||
$query_hash = md5( $query );
|
$query_hash = md5( $query );
|
||||||
|
|
||||||
// Maybe store a transient of the count values.
|
// 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 ) {
|
if ( true === $cache ) {
|
||||||
$cached_counts = (array) get_transient( 'wc_layered_nav_counts_' . sanitize_title( $taxonomy ) );
|
$cached_counts = (array) get_transient( 'wc_layered_nav_counts_' . sanitize_title( $taxonomy ) );
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue