Make WordPress Core

Opened 17 months ago

Last modified 17 months ago

#57454 new defect (bug)

Multisite: Users without a role are not returned in sub-site search results

Reported by: travisanderson99's profile travisanderson99 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: ui, multisite Cc:

Description

We recently came across this issue after migrating off WooCommerce. Our default role was the 'Customer' role provided by WooCommerce. When WooCommerce was removed from our sites, that role was subsequently deleted - leaving a large percentage of users without a role.

Generally this would not be an issue, but users without a role are not returned in the search results on a multisite sub-site.

I am able to find the user by searching by name or email on the parent site, and the sub-site is also listed under the user's sites, but they don't display in search results without a role. This makes it very difficult to find or edit a user on the sub-site.

Change History (1)

#1 @ironprogrammer
17 months ago

  • Summary changed from Users without a role are not returned in sub-site search results to Multisite: Users without a role are not returned in sub-site search results
Note: See TracTickets for help on using tickets.