[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:13:36 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 |
--------------------------+------------------------------
Changes (by scribu):
* keywords: needs-patch has-patch => needs-patch
Comment:
That gleefully opens the door to SQL injections.
Instead of overloading the 'author' query var, I think we shold have
{{{author__in}}} and {{{author__not_in}}}.
Similar: #13927
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16854#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list