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

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 21:23:41 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 Otto42):

 Replying to [comment:142 ryan]:
 > {{{
 > WP_Query( array( 'category_name' => 'A Cat', 'showposts' => '1' ) );
 > }}}

 The category_name is supposed to be a slug, isn't it? Slugs can't have
 spaces in them, so it's probably splitting on the space somewhere.

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


More information about the wp-trac mailing list