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

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 22:40:56 UTC 2010


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

Comment(by scribu):

 On the other hand, having it check is_empty() will trigger an extra query
 on each page load if you don't have any sub-categories.

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


More information about the wp-trac mailing list