[wp-trac] [WordPress Trac] #29185: get_terms with parent set incorrectly hides non-empty terms

WordPress Trac noreply at wordpress.org
Mon Oct 27 01:03:14 UTC 2014


#29185: get_terms with parent set incorrectly hides non-empty terms
------------------------------+------------------------------
 Reporter:  smerriman         |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Taxonomy          |     Version:  3.9.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:  needs-unit-tests good-first-bug => needs-unit-tests


Comment:

 landakram and I worked on this for a while at WCSF contributor day. First
 off, I am a bozo for marking it good-first-bug. Second, I think we have
 the proper fix in [attachment:29185.2.patch], but we need to have some
 more unit tests that describe the current behavior of 'child_of',
 'parent', and 'hierarchical', especially in cases where one overrides
 another.

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


More information about the wp-trac mailing list