WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#29742 closed defect (bug) (fixed)

Action problems for Media trash

Reported by: pavelevap Owned by: wonderboymusic
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.0
Component: Media Keywords:
Focuses: Cc:

Description

When using Media trash:

define( 'MEDIA_TRASH', true);

List view:

There is only "Delete Permanently" in Bulk Actions menu instead of "Trash". And when you go to Trash, there is also only this choice (and not "Restore").

Grid view:

You can trash media item, but it is not possible to delete trashed item (only Untrash).

Attachments (1)

29742.diff (4.6 KB) - added by wonderboymusic 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @wonderboymusic
5 years ago

  • Milestone changed from Awaiting Review to 4.1
  • Owner set to wonderboymusic
  • Status changed from new to assigned

#2 @wonderboymusic
5 years ago

In 29810:

Media List Table: account for MEDIA_TRASH in the bulk action dropdown.

See #29742.

@wonderboymusic
5 years ago

#3 @wonderboymusic
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 29811:

Media Grid/List Table parity: when MEDIA_TRASH is true and trash is the current filter for the grid, add a second bulk action button: "Delete Selected"

Fixes #29742.

Note: See TracTickets for help on using tickets.