Changeset 5595
- Timestamp:
- 05/29/07 23:06:46 (1 year ago)
- Files:
-
- trunk/wp-includes/category.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/category.php
r5560 r5595 45 45 $curcategory = $category; 46 46 while ( ($curcategory->parent != 0) && ($curcategory->parent != $curcategory->term_id) ) { 47 $curcategory = get_term($curcategory->parent );47 $curcategory = get_term($curcategory->parent, 'category'); 48 48 $path = '/' . $curcategory->slug . $path; 49 49 }
