Opened 2 years ago
Last modified 7 months ago
#57398 new enhancement
User roles are reset to "All" tabs when performing bulk actions on certain user roles.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | 2nd-opinion has-patch |
Focuses: | Cc: |
Description
Whenever bulk actions are performed on certain roles and applied, the page reloads back to the "All" roles. This makes performing Bulk Actions on certain roles tedious if we have to do it multiple times as we need to switch to the role again.
Issue Video Link => https://share.cleanshot.com/wSHt0nxqtGWkFlPgsq8h
Change History (2)
This ticket was mentioned in PR #7518 on WordPress/wordpress-develop by @veryard.
7 months ago
#2
- Keywords has-patch added; needs-patch removed
This just keeps the role attribute around after a user has been deleted if done by filtering on a role, it is already provided by the form submission so just getting it out if it exists and passing it to the redirect.
Note that it will show a blank table if no more users exist in that group, we could add a check if we should then go to "all" or not. Happy to hear suggestions
I have tested this and see this is happening for bulk actions as well as normal delete operation.
It would be good to handle this case to make bulk operations smoother.