WordPress.org

Make WordPress Core

Changeset 5599


Ignore:
Timestamp:
05/30/2007 09:50:57 PM (15 years ago)
Author:
ryan
Message:

Fix slug queries. see #4189

File:
1 edited

Legend:

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