Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#29101 closed defect (bug) (fixed)

Media Grid: wp.media.view.BulkSelectionActionButton shouldn't assume that delete is the only action

Reported by: ocean90's profile ocean90 Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.0 Priority: low
Severity: minor Version: 4.0
Component: Media Keywords: needs-patch
Focuses: javascript, administration Cc:

Description

See trunk/src/wp-includes/js/media-grid.js@29322#L649.
Should be easy to check against this.controller.model.get( 'currentAction' ).

Related: https://wordpress.org/support/topic/media-library-grid-bulk-actions

Change History (1)

#1 @wonderboymusic
9 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 29403:

In media.view.BulkSelectionActionButton.click(), do not assume that delete is the only possible bulk action.

Fixes #29101.

Note: See TracTickets for help on using tickets.