Default category lists to hierarchical. Update default theme to use wp_list_categories(). Props David House. fixes #2653

git-svn-id: https://develop.svn.wordpress.org/trunk@3706 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-04-13 04:51:45 +00:00
parent 8cdd21978f
commit 4c868ad943
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Template Name: Archives
<h2>Archives by Subject:</h2>
<ul>
<?php wp_list_cats(); ?>
<?php wp_list_categories(); ?>
</ul>
</div>

View File

@ -219,7 +219,7 @@ function wp_list_categories($args = '') {
'order' => 'asc', 'style' => 'list', 'show_last_update' => 0,
'show_count' => 0, 'hide_empty' => 1, 'use_desc_for_title' => 1,
'child_of' => 0, 'feed' => '', 'feed_image' => '', 'exclude' => '',
'hierarchical' => false, 'title_li' => '');
'hierarchical' => true, 'title_li' => '');
$r = array_merge($defaults, $r);
$r['include_last_update_time'] = $r['show_date'];
extract($r);