[wp-trac] [WordPress Trac] #16152: category__in now shows posts from children categories too

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 9 16:37:28 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:  has-patch commit  |
------------------------------+------------------

Comment (by ryan):

 Note that parse_tax_query() is run twice. It'd be nice to avoid finding
 all children twice, especially for the second call which will already
 include the children.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16152#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list