[wp-trac] [WordPress Trac] #17582: Problems with duplicated users

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 6 19:39:42 UTC 2011


#17582: Problems with duplicated users
--------------------------+------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by scribu):

 Arguably, returning the name twice in that case isn't very useful anyway,
 since you can't distinguish between users.

 Anyway, I'm fine with 17582.3.diff as long as it also includes the
 'found_users_query' filter, so that one could switch to FOUND_ROWS() if
 needed.

 PS: For consistency's sake, GROUP BY should be uppercase:

 {{{$this->query_groupby = 'GROUP BY ID';}}}

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


More information about the wp-trac mailing list