WordPress.org

Make WordPress Core

Changeset 7729


Ignore:
Timestamp:
04/17/2008 09:21:13 PM (10 years ago)
Author:
ryan
Message:

We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r7520 r7729  
    233233        $tab_index_attribute = " tabindex=\"$tab_index\"";
    234234
     235    $r['hierarchical'] = 0;
    235236    $categories = get_categories($r);
     237    $r['hierarchical'] = $hierarchical;
    236238
    237239    $output = '';
     
    290292    extract( $r );
    291293
     294    $r['hierarchical'] = 0;
    292295    $categories = get_categories($r);
     296    $r['hierarchical'] = $hierarchical;
    293297
    294298    $output = '';
Note: See TracChangeset for help on using the changeset viewer.