[wp-trac] [WordPress Trac] #36196: Users without a role are not being displayed
WordPress Trac
noreply at wordpress.org
Thu May 5 22:12:43 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
----------------------------------------+-----------------------------
Changes (by flixos90):
* keywords: needs-patch => has-patch needs-unit-tests
Comment:
[attachment:36196.diff] is a fix to this problem by making
`wp_get_users_with_no_role()` (introduced in [changeset:34965]) multisite-
compatible and removing a conditional which would previously skip users
with no role (I'm not sure why that was there at all).
This fixes the issue for both the "Users" table on a single site and the
"Site Users" table in the network admin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36196#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list