[wp-trac] [WordPress Trac] #16863: get_terms hierarchical/hide_empty incompatible with include/exclude args

WordPress Trac noreply at wordpress.org
Mon Jan 26 17:27:28 UTC 2015


#16863: get_terms hierarchical/hide_empty incompatible with include/exclude args
--------------------------------------------+-------------------------
 Reporter:  martinshopland                  |       Owner:
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:
Component:  Taxonomy                        |     Version:  3.1
 Severity:  normal                          |  Resolution:  worksforme
 Keywords:  needs-unit-tests needs-refresh  |     Focuses:
--------------------------------------------+-------------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Future Release =>


Comment:

 It appears that this is no longer a problem. See
 [attachment:16863-test.diff]. I believe the problem was probably fixed by
 [27458], because the switch from `_get_term_children()` to
 `get_term_children()` means that the term hierarchy is now calculated
 independently of the 'hide_empty' query.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16863#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list