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

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 9 13:52:04 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.3
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by gingerhendrix):

 * cc: gingerhendrix (added)
 * version:  3.1 => 3.3


Comment:

 Just hoping this bug can get looked at again.  It's not fixed in 3.3 beta
 2.  It's had a patch for 5 months, and it's definitely a significant bug -
 the codex even has a broken example

 http://codex.wordpress.org/Class_Reference/WP_Query#Author_Parameters

 {{{
 $query = new WP_Query( 'author=-12,-34,-56' );
 }}}

 The above example from the docs, is the perfect test case for this bug.
 More than happy to help if the patch needs updated.  I've a manually
 patched wordpress installation for one of my clients, and I currently need
 to re-patch every release.

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


More information about the wp-trac mailing list