[wp-trac] [WordPress Trac] #4750: Category unions and intersections

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 15 00:33:10 GMT 2007

#4750: Category unions and intersections
 Reporter:  ryan     |       Owner:  ryan             
     Type:  defect   |      Status:  new              
 Priority:  normal   |   Milestone:  2.3 (trunk)      
Component:  General  |     Version:  2.3              
 Severity:  normal   |    Keywords:  taxonomy category
 Category unions, intersections, and exclusions are common queries.  Let's
 add some private query vars to the main post query to make this easier.
 category!__in, category!__not_in, and category!__and accept arrays of
 category ids.  category!__in queries posts that have any of the given
 categories.  category!__not_in exclude posts in the given categories.
 category!__and queries posts that have all of the given categories.  The
 public "cat" query var is parsed into category!__in and category!__not_in.

Ticket URL: <http://trac.wordpress.org/ticket/4750>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list