Make WordPress Core

Changeset 5595


Ignore:
Timestamp:
05/29/2007 11:06:46 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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        }
Note: See TracChangeset for help on using the changeset viewer.