[wp-trac] [WordPress Trac] #28235: No Warning for Bulk Media Deletions

WordPress Trac noreply at wordpress.org
Tue May 31 09:44:29 UTC 2016


#28235: No Warning for Bulk Media Deletions
--------------------------+-----------------------
 Reporter:  druesome      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.6
Component:  Media         |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+-----------------------
Changes (by pento):

 * milestone:   => 4.6


Old description:

> When deleting a single item in the Media Library by hovering over it and
> clicking the "Delete Permanently" link, a warning pops up that says "You
> are about to delete the selected items. 'Cancel' to stop, 'OK' to
> delete".  However, when deleting items via Bulk Actions, no warning is
> given to the user.
>
> Steps to reproduce:
> 1. Go to Media Library
> 2. Hover mouse over media, click "Delete Permanently" link
> 3. Warning pops up
> 4. Click Cancel
> 5. Click on one or more checkboxes beside media
> 6. Under "Bulk Actions" select form, choose "Delete Permanently"
> 7. Click "Apply"
>
> Actual:
>
> Media is deleted permanently without warning.
>
> Expected:
>
> Warning to pop up prior to deleting permanently.
>
> [[Image(https://i.cloudup.com/7MiRoHoE32.PNG)]]

New description:

 When deleting a single item in the Media Library by hovering over it and
 clicking the "Delete Permanently" link, a warning pops up that says "You
 are about to delete the selected items. 'Cancel' to stop, 'OK' to delete".
 However, when deleting items via Bulk Actions, no warning is given to the
 user.

 Steps to reproduce:
 1. Go to Media Library
 2. Hover mouse over media, click "Delete Permanently" link
 3. Warning pops up
 4. Click Cancel
 5. Click on one or more checkboxes beside media
 6. Under "Bulk Actions" select form, choose "Delete Permanently"
 7. Click "Apply"

 Actual:

 Media is deleted permanently without warning.

 Expected:

 Warning to pop up prior to deleting permanently.

 [[Image(https://i.buttup.com/7MiRoHoE32.PNG)]]

--

Comment:

 Replying to [comment:1 helen]:
 > You have to take so many steps to get here - is it really necessary to
 add another step?

 Yes, I think so. For all other content, we have Trash, so deleting
 something can be undone. With the Customiser, we allow people to see what
 their change will look like before they commit to it, so it's an informed
 decision.

 With Attachments, deleting is simple to do, and irreversible. Short of a
 Trash-like system for Attachments, I think it's appropriate for people to
 be warned of the permanent nature of what they're about to do.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28235#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list