[wp-trac] [WordPress Trac] #36196: Users without a role are not being displayed
WordPress Trac
noreply at wordpress.org
Thu May 5 22:30:34 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 flixos90):
[attachment:36196.2.diff] improves the previous patch by also fixing the
table views. They now include "None" properly if available. This was fixed
by making `count_users()` multisite-compatible by adding an additional
`$site_id` parameter and removing a clause that would automatically set
the count for users with no role to 0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36196#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list