WordPress.org

Make WordPress Core

Ticket #15919: 15919.2.diff

File 15919.2.diff, 392 bytes (added by wonderboymusic, 9 years ago)
  • wp-includes/taxonomy.php

     
    13421342                $where .= " AND tt.parent = '$parent'";
    13431343        }
    13441344
     1345        if ( 'count' == $fields )
     1346                $hierarchical = false;
     1347
    13451348        if ( $hide_empty && !$hierarchical )
    13461349                $where .= ' AND tt.count > 0';
    13471350