Opened 6 weeks ago
Last modified 6 weeks ago
#65160 new defect (bug)
Misleading error message on user screen actions, if no role has been selected
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Users | Keywords: | has-patch |
| Focuses: | ui | Cc: |
Description
similar to #64659, when on users.php no bulk action and also no role was selected, and the 'Change' button gets pressed, an error maessage appears claiming "Please select a bulk action to perform.". It's misleading because the underlying issue is that no user has been selected. Even when you select a bulk action like "Send password reset", the same error message will appear, which totally makes no sense.
Change History (3)
This ticket was mentioned in PR #11728 on WordPress/wordpress-develop by @hbhalodia.
6 weeks ago
#2
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/65160
## Description
- Update the message on
users.phplist when a role change action is performed without selecting any role, which saysPlease select a bulk action to perform., instead addedPlease select a role to change.so that users does not mislead the information.
## Use of AI Tools
- None
Note: See
TracTickets for help on using
tickets.
Hi @Presskopp,
I’m not entirely sure what the exact issue is here, as the current wording looks correct to me. I reviewed the following test cases, and all of them appear to behave as expected without showing misleading messages.
Could you please review the cases below and clarify what specifically needs to be updated? Once clarified, we can also check with the wider team to determine whether other users feel the wording should be changed.
Please select a bulk action to perform.— Does not appear misleading.Please select a bulk action to perform.— Looks misleading, should be something likePlease select a role to change.Please select a bulk action to perform.— Does not appear misleading.Please select a bulk action to perform.— Does not appear misleading.Please select at least one item to perform this action on.— Does not appear misleading.Please select a bulk action to perform.— Does not appear misleading, as no role change was selected.Password reset links sent to n users.— Does not appear misleading.Please select a bulk action to perform.— Does not appear misleading, as no role change was selected.Please select a bulk action to perform.— Does not appear misleading.Please select at least one item to perform this action on.— Does not appear misleading.Please select a bulk action to perform.— Does not appear misleading, as the role change option was selected but the bulk action button was clicked.Changed roles.— Does not appear misleading.Please select at least one item to perform this action on.— Does not appear misleading.Please select at least one item to perform this action on.— Does not appear misleading.Password reset links sent to n users.— Does not appear misleading.Changed roles.— Does not appear misleading.I believe I have covered all possible cases, and I do not currently see any misleading messages. The only scenario that may be worth reconsidering is when users click Change or Apply without making any selection, as both currently display the same message:
Please select a bulk action to perform.Perhaps when clicking Change, the message could instead be something like:
Please select a role to change.That is the only potential improvement I can currently identify.
Thanks,