﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
13176	wp_list_categories pad_counts shows zero for parent term with custom hierarchical taxonomy	michaelh	filosofo	"When asked to ""pad_counts"", this version of wp_list_categories returns zero for parent terms when using a custom hierarchical taxonomy:

{{{
<?php 
$orderby = 'name'; 
$show_count = 1; 
$pad_counts = 1; 
$hierarchical = 1; 
$taxonomy = 'genre';
$title = '';
$args = array(
  'orderby' => $orderby,
  'show_count' => $show_count,
  'pad_counts' => $pad_counts,
  'hierarchical' => $hierarchical,
  'taxonomy' => $taxonomy,
  'title_li' => $title
);
?>
<ul>
<?php 
wp_list_categories($args);
?>
</ul>
}}}

With $taxonomy = 'category', the pad_counts are correct."	defect (bug)	closed	normal		Taxonomy	3.0	normal	worksforme	reporter-feedback	kevinB christopher.witt.hansen@…
