[wp-trac] [WordPress Trac] #13907: get_categories with custom taxonomy ignores "depth"

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 15 17:45:49 UTC 2010


#13907: get_categories with custom taxonomy ignores "depth"
--------------------------+-------------------------------------------------
 Reporter:  yeswework     |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  General       |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 in the following query:

 $books = get_categories('taxonomy=book_title&depth=1');

 depth=1 gets ignored, and all levels of the taxonomy are returned.

 wp_list_categories works fine, on the other hand.

 I'm assuming this is a bug...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13907>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list