[wp-trac] [WordPress Trac] #29185: get_terms with parent set incorrectly hides non-empty terms
WordPress Trac
noreply at wordpress.org
Sun Oct 26 23:12:16 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
Component: Taxonomy | Review
Severity: normal | Version: 3.9.1
Keywords: needs-unit-tests good-first-bug | Resolution:
| Focuses:
---------------------------------------------+-----------------------------
Comment (by landakram):
If I understand correctly, then for ''any'' value of `parent`,
`hierarchical` should not be automatically reset. I attached a patch which
removes the value checks for `parent` there entirely.
I also added a test for the setup described in the description above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29185#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list