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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 14 12:18:41 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:  needs-patch   |
--------------------------+------------------------------

Comment (by commentluv):

 yes I agree, it was a quick and dirty patch.
 I did consider doing an array_walk and absint each of the id's but I
 figured I would wait until one of the regular wp folks would come up with
 a better way. and you did! (in minutes flat!) :-)

 the `author__in` and `author_not_in` would make more sense, it would allow
 and/nots for authors
 at the moment, it's " show from everyone except this one" and not able to
 "show from these but not these"

 looking forward to see what happens with it

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


More information about the wp-trac mailing list