Make WordPress Core

Changeset 7792


Ignore:
Timestamp:
04/23/2008 10:00:31 PM (18 years ago)
Author:
ryan
Message:

Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.

File:
1 edited

Legend:

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

    r7729 r7792  
    233233        $tab_index_attribute = " tabindex=\"$tab_index\"";
    234234
    235     $r['hierarchical'] = 0;
    236235    $categories = get_categories($r);
    237     $r['hierarchical'] = $hierarchical;
    238236
    239237    $output = '';
     
    292290    extract( $r );
    293291
    294     $r['hierarchical'] = 0;
    295292    $categories = get_categories($r);
    296     $r['hierarchical'] = $hierarchical;
    297293
    298294    $output = '';
Note: See TracChangeset for help on using the changeset viewer.