[wp-trac] [WordPress Trac] #12891: Advanced multi-taxonomy WP_Query()s

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 21:25:56 UTC 2010


#12891: Advanced multi-taxonomy WP_Query()s
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  markjaquith    
     Type:  task (blessed)  |      Status:  assigned       
 Priority:  normal          |   Milestone:  3.1            
Component:  Query           |     Version:  3.0.1          
 Severity:  normal          |    Keywords:  ongoing-project
----------------------------+-----------------------------------------------

Comment(by ryan):

 Replying to [comment:138 chrisscott]:
 > [15649] breaks existing behavior by setting post_type to 'any' instead
 of defaulting to 'post' when a taxonomy is specified but post_type is not.
 We're already being bitten by this on VIP sites on .com.

 It looks like 3.0 searched "any" for custom taxonomies but not for
 categories and tags. Whereas 3.1 searches any for all taxonomies.

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


More information about the wp-trac mailing list