[wp-trac] [WordPress Trac] #10908: Impossible to exclude categries in a category listing

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 6 06:47:45 UTC 2009


#10908: Impossible to exclude categries in a category listing
-----------------------------+----------------------------------------------
 Reporter:  dimitryz         |       Owner:  ryan                                
     Type:  feature request  |      Status:  new                                 
 Priority:  normal           |   Milestone:  Unassigned                          
Component:  Query            |     Version:  2.8.4                               
 Severity:  normal           |    Keywords:  category, wp_query, category__not_in
-----------------------------+----------------------------------------------

Comment(by scribu):

 You can use 'posts__not_in' instead, as I'm pretty sure allowing
 'category__not_in' together with 'category_name' will have hidden side
 effects.

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


More information about the wp-trac mailing list