Coding standards matter

This commit is contained in:
Geert De Deckere 2012-12-27 15:18:10 +01:00
parent 8205357828
commit e8f88eafe8
1 changed files with 1 additions and 1 deletions

View File

@ -2086,7 +2086,7 @@ function woocommerce_change_term_counts( $terms, $taxonomies, $args ) {
foreach ( $terms as &$term ) {
// If the original term count is zero, there's no way the product count could be higher.
if ( empty( $term->count )) continue;
if ( empty( $term->count ) ) continue;
$count = get_woocommerce_term_meta( $term->term_id, 'product_count_' . $taxonomies[0] , true );