Changeset 5599

Show
Ignore:
Timestamp:
05/30/07 21:50:57 (1 year ago)
Author:
ryan
Message:

Fix slug queries. see #4189

Files:

Legend:

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

    r5595 r5599  
    3636        $full_path .= ( $pathdir != '' ? '/' : '' ) . sanitize_title($pathdir); 
    3737 
    38     $categories = get_terms('category', "slug=$leaf_path"); 
     38    $categories = get_terms('category', "get=all&slug=$leaf_path"); 
    3939 
    4040    if ( empty($categories) )