[wp-trac] [WordPress Trac] #8832: function get_categories() doesn't work properly when using child_of and number parameters

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 9 20:20:02 GMT 2009


#8832: function get_categories() doesn't work properly when using child_of and
number parameters
--------------------------+-------------------------------------------------
 Reporter:  jidm          |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.7.1    
Component:  General       |     Version:  2.7      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 The function get_categories() does not behave as expected when combining
 parameters "child_of" and "number".

 Instead of showing X children of category Y, they are doing the following
 logic:
 Get X categories (children or not). Then look in this result for children
 of category Y and show them. So the total result can be 5 categories, 3
 categories, or even none.

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


More information about the wp-trac mailing list