[wp-trac] [WordPress Trac] #32586: Different actions in the two "Bulk Actions" dropdown will always perform the upper action
WordPress Trac
noreply at wordpress.org
Mon Jun 8 13:25:57 UTC 2015
#32586: Different actions in the two "Bulk Actions" dropdown will always perform
the upper action
-----------------------------+-----------------------------
Reporter: Kau-Boy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
As I reviewed and tested the ticket #31634 I found another quite critical
bug. When you select different actions in the two dropdowns and then hit
"Apply", the first action will be used. Let's think of the following
scenario:
- You go the the comment trash
- You mark all comments using the top checkbox
- You select "Delete permanently"
- You scroll through the list and deselect some comment
- You than decide, that you rather want to move the selected comments to
spam
- You select "Mark as Spam" in the lower "Bulk Actions" dropdown
- You hit the lower "Apply"
- Your comments will then be deleted permanently and not marked as spam,
as shown in the dropdown next to the lower apply button
Depending on the action you have chosen in the top dropdown (maybe
unintentionally, as some browsers scroll throught the dropdown values
after closing the dropdown, when using the scroll wheel on a mous), this
can be really critical, especially for actions, you can't undo, like the
permanent deletion.
My suggestion would be to always set the value in both dropdowns to the
same value, each time the users changes the value in one dropdown.
P.S. This issue is being provided by the WordCamp Cologn 2015 Contributor
Day #wccgn
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32586>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list