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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 16 16:07:32 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 nacin):

 Replying to [comment:98 scribu]:
 > Or we could do it more similarly to get_meta_sql(), generating JOIN
 clauses besides WHERE.
 A big problem with get_meta_sql() is it lowers the barrier for entry. I
 liked that I needed to roll my own JOIN clauses because if I was capable
 of doing that, then I was capable of realizing the bad queries that could
 come out of it.

 Being able to blindly specify any number of meta key queries is going to
 result in abuse.

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


More information about the wp-trac mailing list