[wp-trac] [WordPress Trac] #17860: Multisite: Incorrect User Counts on Sites

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 7 15:35:55 UTC 2011

#17860: Multisite: Incorrect User Counts on Sites
 Reporter:  cgrymala      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  ux-feedback   |

Comment (by cgrymala):

 Thanks for tracking that down, kawauso. I suspect the next step in this
 process is to discuss what the solution should be. Do we remove users
 without a valid role from the array before any processing is done so
 they're not counted at all, or do we assign them a fake/default role so
 that they'll still be listed in the user table.

 Either way, the way it's set up right now is confusing, at best; and some
 sort of solution should probably be worked out.

 What's the proper keyword to assign to a ticket to indicate it needs
 further discussion? Is that what the `dev-feedback` keyword is for?

 Replying to [comment:4 kawauso]:
 > The issue can be traced to [http://core.trac.wordpress.org/browser/trunk
 /wp-admin/includes/class-wp-users-list-table.php#L198 line 198] of class-
 > {{{
 > if ( is_multisite() && empty( $role ) )
 >       continue;
 > }}}
 > which skips any users without a role for the current blog.

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

More information about the wp-trac mailing list