diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-09 11:30:05 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-09 11:30:05 +0000 |
| commit | 819f131230b6d2e4ff88a8773eef754228989ffc (patch) | |
| tree | 547908e700cf516755e371de9a2149ff5a772832 /wp-includes/category-template.php | |
| parent | 90888943466530c65823eac7e07e5a6f1c8ab5d5 (diff) | |
WP Merge to rev 4709
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@835 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/category-template.php')
| -rw-r--r-- | wp-includes/category-template.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 1ac742e..f1a8346 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -224,6 +224,8 @@ function wp_list_categories($args = '') { 'child_of' => 0, 'feed' => '', 'feed_image' => '', 'exclude' => '', 'hierarchical' => true, 'title_li' => __('Categories')); $r = array_merge($defaults, $r); + if ( !isset($r['pad_counts']) && $r['show_count'] && $r['hierarchical'] ) + $r['pad_counts'] = true; if ( isset($r['show_date']) ) $r['include_last_update_time'] = $r['show_date']; extract($r); |
