[wp-trac] [WordPress Trac] #15161: categories aren't excluded by pre_get_posts

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 27 13:08:33 UTC 2010


#15161: categories aren't excluded by pre_get_posts
--------------------------+-------------------------------------------------
 Reporter:  jorbin        |       Owner:  scribu     
     Type:  defect (bug)  |      Status:  accepted   
 Priority:  normal        |   Milestone:  3.1        
Component:  Query         |     Version:  3.1        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by scribu):

  * status:  reviewing => accepted


Comment:

 This is because all the taxonomy related queries are parsed in
 parse_query() and put into the 'taxonomy_query' query var.

 PS: 'pre_get_posts' is an action, not a filter.

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


More information about the wp-trac mailing list