[wp-trac] [WordPress Trac] #38026: Add Delete link to details modal when file in trash

WordPress Trac noreply at wordpress.org
Mon Sep 12 18:10:28 UTC 2016


#38026: Add Delete link to details modal when file in trash
--------------------------+-----------------------------
 Reporter:  mahu2401      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 First enable media trash by adding {{{define('MEDIA_TRASH', true);}}} to
 wp-config.php and move a media file to trash by clicking its "Trash" Link
 either in grid view or list view.

 Then navigate to the trash view. In list view there are two links on each
 item ("Restore" and "Delete Permanently").

 In the details modal of the grid view there's only one link ("Untrash").
 In addition this link is red like a delete link, but it actually restores
 the file. To delete the file you have to close the modal, select it with
 bulk select and then click the delete button in the toolbar.

 I think there should be a second link "Delete Permanently" in the details
 modal and the "Untrash" link should be blue to avoid confusion.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38026>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list