Skip to content

Commit

Permalink
Merge pull request #1978 from joemcgill/update/hide-display-settings-…
Browse files Browse the repository at this point in the history
…on-gallery-edit

Hide gallery display settings in the media modal
  • Loading branch information
westonruter authored Jul 23, 2017
2 parents b61c82c + aca23bb commit 1d66b18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/media-upload-button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const getGalleryDetailsMediaFrame = () => {
library: this.options.selection,
editing: this.options.editing,
menu: 'gallery',
displaySettings: false,
} ),

new wp.media.controller.GalleryAdd(),
Expand Down

0 comments on commit 1d66b18

Please sign in to comment.