[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
passed.
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.
[[Image(https://d1ro8r1rbfn3jf.cloudfront.net/ms_89767/P5GBLuysnbFWN1qWakzwXYJC349Caf/Users%2B%25E2%2580%25B9%2BSite%253A%2BTwo%2B%25E2%2580%2594%2BWordPress%2B2016-10-13%2B16-24-00.png?Expires=1476562764&Signature=MELswYsRPmOe7VkHEFWt7EWceFkiSyiptdWUh056vb
~5iF3YwNX7YT0krYV9Xe-KRGzfvIWEgb2uPpN7U78ZTZyU3NvHVM198R
~0qsXuv0OrNNQbVbnoWn8HwdkO5lxLZgDS1RBwsgOMmtkPpVHo5sLkO8ECGJmofJSWMtJXxifanuT-
vHO7N7~-NYtdjmfpkBbG8xxQaQ
~hECU0ySX7cRnslnGCizA0jFUYxPY718FHpxmqJTIKDmqRn3cg-
i5phn97a5lytuh3x70TcGDlZoih8iSGHRISAivPSrIGbs7ZBBzWNe~NDTE
~ezG3Hhfl871aT5G9gc4YKcDv-iMYdg__&Key-Pair-Id=APKAJHEJJBIZWFB73RSA)]]
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.
[[Image(http://take.ms/lUG8p)]]
--
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