WordPress.org

Make WordPress Core

Ticket #15919: 15919_3.diff

File 15919_3.diff, 446 bytes (added by faishal, 12 months ago)

updated patch

  • wp-includes/taxonomy.php

     
    13471347                $parent = (int) $parent; 
    13481348                $where .= " AND tt.parent = '$parent'"; 
    13491349        } 
    1350  
     1350        if ( 'count' == $fields )  
     1351                $hierarchical = false;  
     1352          
    13511353        if ( $hide_empty && !$hierarchical ) 
    13521354                $where .= ' AND tt.count > 0'; 
    13531355