Changeset 5595

Show
Ignore:
Timestamp:
05/29/07 23:06:46 (1 year ago)
Author:
ryan
Message:

Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/category.php

    r5560 r5595  
    4545        $curcategory = $category; 
    4646        while ( ($curcategory->parent != 0) && ($curcategory->parent != $curcategory->term_id) ) { 
    47             $curcategory = get_term($curcategory->parent); 
     47            $curcategory = get_term($curcategory->parent, 'category'); 
    4848            $path = '/' . $curcategory->slug . $path; 
    4949        }