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

WordPress Trac noreply at wordpress.org
Wed Nov 14 08:29:57 UTC 2012


#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:                |
--------------------------+------------------------------

Comment (by roytanck):

 Replying to [comment:12 nacin]:
 > Doesn't seem like it would allow admins to give them a role, based on
 the report "if they have capabilities and no role; WordPress won't even
 let you assign a role to them," above. I did not yet investigate.

 I did some quick tests, and your patch adds users without a role
 (capabilities: `a:1:{s:17:"gform_full_access";s:1:"1";}`) to wp-
 admin/network/site-users.php and wp-admin/users.php (as expected) with
 their role listed as "None".

 Without the patch applied, these users would not be listed there, making
 it impossible for admins to click through to their profiles, and change
 "No role for this blog" to something more useful. These users could also
 not be added ("That user is already a member of this site"), or removed
 from the blog.

 I agree that the problem here is the difference between how users are
 counted and listed. The other approach would imho be to not list these
 users, but also make it possible for admins to add them to the blog.
 Basically, either we treat users without a role as "strangers" (not
 counted, not listed, able to add) or as "family" (counted, listed).

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


More information about the wp-trac mailing list