[wp-trac] [WordPress Trac] #17365: get_terms doesn't return terms with no posts if you specify a parent
WordPress Trac
noreply at wordpress.org
Tue Jan 21 21:39:44 UTC 2014
#17365: get_terms doesn't return terms with no posts if you specify a parent
--------------------------+-------------------------
Reporter: mark8barnes | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version: 3.1.2
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-------------------------
Comment (by mrwweb):
Replying to [comment:1 c3mdigital]:
> I'm closing. If you still think this is a bug please re open with
additional information to support.
Reopening this ticket as #26903.
c3mdigital, regarding this:
> When you set parent to 0 no child terms should be returned.
The problem is not that child terms aren't returned but that the **parent
terms themselves** aren't returned either.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17365#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list