WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#23116 closed enhancement (fixed)

Media GalleryEdit Controller should have an option to hide gallery settings

Reported by: nd987 Owned by:
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: has-patch
Focuses: Cc:

Description

wp.media.controller.GalleryEdit (from /wp-includes/js/media-views.js, line ~557) should include an option to disable the gallery settings in the right sidebar. The settings might not always be desired (when editing a Gallery that doesn't go directly into a shortcode, for example).

Attachments (1)

media-views.GalleryEdit.add_display_settings.patch (1.3 KB) - added by nd987 9 years ago.
Adds an option for displaying settings on GalleryEdit controllers. Defaults to show settings.

Download all attachments as: .zip

Change History (4)

@nd987
9 years ago

Adds an option for displaying settings on GalleryEdit controllers. Defaults to show settings.

#1 @ericlewis
7 years ago

  • Version set to 3.5

One could use .extend() and create a sub-class to create this behavior instead of requiring a change to core.

#2 @wonderboymusic
7 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.0

.extend() is a little heavy for just bailing on the settings screen.

#3 @wonderboymusic
7 years ago

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

[28577] missed the ticket

Note: See TracTickets for help on using tickets.