[wp-trac] [WordPress Trac] #16045: wp_dropdown_users() omits current user if current user no longer has posting privileges
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 31 16:29:01 UTC 2010
#16045: wp_dropdown_users() omits current user if current user no longer has
posting privileges
----------------------------+------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.1
Component: Administration | Version: 3.1
Severity: critical | Resolution:
Keywords: |
----------------------------+------------------
Comment (by aaroncampbell):
I know the `WHERE 1=1` doesn't affect the query at all, but is it really
annoying to anyone else? Is there any disadvantage to doing something
like this instead?
{{{
$this->query_where = '';
...
if ( '' != $this->query_where ) {
$this->query_where = 'WHERE ' . $this->query_where;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16045#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list