WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/30/2007 01:39:47 AM (15 years ago)
Author:
ryan
Message:

Category hierarchy fixes. see #4189

File:
1 edited

Legend:

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

    r5566 r5597  
    105105        foreach ( $cats as $cat) {
    106106            // TODO fix hierarchy
    107             //$result[$cat]['children'] = get_nested_categories( $default, $cat);
     107            $result[$cat]['children'] = get_nested_categories( $default, $cat);
    108108            $result[$cat]['cat_ID'] = $cat;
    109109            $result[$cat]['checked'] = in_array( $cat, $checked_categories );
Note: See TracChangeset for help on using the changeset viewer.