[wp-trac] [WordPress Trac] #14704: _get_term_hierarchy() should check for populated array
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 15 22:19:17 UTC 2010
#14704: _get_term_hierarchy() should check for populated array
--------------------------+-------------------------------------------------
Reporter: zaremedia | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version:
Severity: minor | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by somatic):
just tested the patch by aaires, basically replicating the
_get_term_hierarchy code as a function within my plugin, and implementing
the conditional:
{{{
&& !empty($children)
}}}
Works perfect. Scribu, can you test your assertion? "creating or deleting
a category should fix it"
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14704#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list