Make WordPress Core

Changeset 3706


Ignore:
Timestamp:
04/13/2006 04:51:45 AM (19 years ago)
Author:
ryan
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/archives.php

    r3517 r3706  
    1818<h2>Archives by Subject:</h2>
    1919  <ul>
    20      <?php wp_list_cats(); ?>
     20     <?php wp_list_categories(); ?>
    2121  </ul>
    2222
  • trunk/wp-includes/template-functions-category.php

    r3704 r3706  
    220220        'show_count' => 0, 'hide_empty' => 1, 'use_desc_for_title' => 1,
    221221        'child_of' => 0, 'feed' => '', 'feed_image' => '', 'exclude' => '',
    222         'hierarchical' => false, 'title_li' => '');
     222        'hierarchical' => true, 'title_li' => '');
    223223    $r = array_merge($defaults, $r);
    224224    $r['include_last_update_time'] = $r['show_date'];
Note: See TracChangeset for help on using the changeset viewer.