[wp-trac] Re: [WordPress Trac] #4870: Bug in get_categories when asking for category children

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 08:46:25 GMT 2007


#4870: Bug in get_categories when asking for category children
------------------------+---------------------------------------------------
 Reporter:  hovenko     |        Owner:  ryan 
     Type:  defect      |       Status:  new  
 Priority:  high        |    Milestone:  2.3  
Component:  General     |      Version:  2.2.2
 Severity:  major       |   Resolution:       
 Keywords:  categories  |  
------------------------+---------------------------------------------------
Comment (by hovenko):

 I don't understand why the milestone was changed to 2.3. This is the time
 for fixing bugs, right? From my point of view, this is a bug.

 I believe the fix is as simple as checking if both the category hierarchy
 is empty and "child_of" is set, then return an empty array.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4870#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list