[wp-trac] [WordPress Trac] #14704: _get_term_hierarchy() should check for populated array

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 7 11:06:49 UTC 2010

#14704: _get_term_hierarchy() should check for populated array
 Reporter:  zaremedia     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  minor         |    Keywords:                 

Comment(by aaires):

 I experienced the same problem, not being able to see the children terms
 if the option  "{$taxonomy}_children" isn't updated. If that happens there
 is no possibility to retrieve the children through the terms.

 In attach (taxonomy.php.patch) you can find the patch that simple adds the
 check to see if the $children array is not empty, as suggested here.

Ticket URL: <http://core.trac.wordpress.org/ticket/14704#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list