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

git-svn-id: http://svn.automattic.com/wordpress/trunk@3706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-13 04:51:45 +00:00
parent b1af79fb05
commit 2cf2472a52
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);