[wp-trac] [WordPress Trac] #36196: Users without a role are not being displayed

WordPress Trac noreply at wordpress.org
Fri Oct 14 20:34:15 UTC 2016

#36196: Users without a role are not being displayed
 Reporter:  tobi823                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Users                       |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  multisite

Comment (by scottlee):

 Hey hey, @flixos90, thanks for the patch. I've refreshed it for ya since
 it wasn't applying cleanly. I also ran the tests to ensure the changes

 I agree with most of the conversation that's happening here. Such as,
 should we remove the `wp_X_capabilities` and `wp_X_user_level` entires
 when a user is set to "no role" on a site (single or multi).

 However, I think it'd delay resolving the issue here. That being when a
 site contains user(s) that are set to "no role" the user count vs. whats
 displayed, is misleading. ie. not showing.


 If we apply this fix, not only do resolving the differences between the
 users count vs. what the user sees, we also enable an Administrator to
 restore an essentially orphaned user to a site. Something that is not
 currently possible.


Ticket URL: <https://core.trac.wordpress.org/ticket/36196#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list