[wp-trac] [WordPress Trac] #16854: wp_query does not handle multiple exclude author properly

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 17 03:19:55 UTC 2011


#16854: wp_query does not handle multiple exclude author properly
------------------------------------+------------------------------
 Reporter:  commentluv              |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Query                   |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by Viper007Bond):

 I got caught by the comma-separated string only (no arrays allowed) issue,
 heh. It'd be good to introduce `author__in` and `author__not_in` and make
 them accept both arrays and strings -- two birds, one stone.

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


More information about the wp-trac mailing list