Changeset 5178 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 04/04/2007 08:44:45 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r5152 r5178 792 792 $categories = get_categories( 'hide_empty=0' ); 793 793 794 $children = _get_category_hierarchy(); 795 794 796 if ( $categories ) { 795 797 ob_start(); … … 797 799 if ( $category->category_parent == $parent) { 798 800 echo "\t" . _cat_row( $category, $level ); 799 cat_rows( $category->cat_ID, $level +1, $categories ); 801 if ( isset($children[$category->cat_ID]) ) 802 cat_rows( $category->cat_ID, $level +1, $categories ); 800 803 } 801 804 }
Note: See TracChangeset
for help on using the changeset viewer.