WordPress.org

Make WordPress Core

Changeset 7733


Ignore:
Timestamp:
04/18/2008 01:53:14 AM (10 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r7520 r7733  
    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.