[wp-trac] [WordPress Trac] #37967: Categories Problem - possible bug.
WordPress Trac
noreply at wordpress.org
Fri Feb 17 14:27:13 UTC 2017
#37967: Categories Problem - possible bug.
--------------------------+------------------------------
Reporter: trader121 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.6
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dlh):
Hey @trader121,
What you're describing sounds to me like expected behavior. Queries for
terms in hierarchical taxonomies (like `category`) include child terms by
default,
[https://developer.wordpress.org/reference/classes/wp_tax_query/__construct/
per `WP_Tax_Query::__construct()`].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37967#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list