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

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 21 16:41:42 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 scribu):

 The logic behind [16526] is that WP_Query should not care about URL
 decoding.

 Thus,

 if you go to an URL like {{{/category/foo+bar/}}} it will be interpreted
 as {{{foo AND bar}}}

 but if you call {{{get_posts('category_name=Foo Bar')}}}, it will look for
 {{{foo-bar}}}

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


More information about the wp-trac mailing list