[wp-trac] [WordPress Trac] #16152: category__in now shows posts from children categories too
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 8 08:28:03 UTC 2011
#16152: category__in now shows posts from children categories too
--------------------------+------------------
Reporter: linuxologos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by SergeyBiryukov):
`parse_tax_query()` calls `WP_Tax_Query()`, where `include_children` is
true by default. Is it safe to use `'include_children' => false` for
`category__in` and `category__not_in`?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16152#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list