Media Grid: Ignore user setting for `content`.
fixes #29034. git-svn-id: https://develop.svn.wordpress.org/trunk@29305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb5838a937
commit
812ecd9b8d
|
@ -139,12 +139,12 @@
|
|||
// Add the default states.
|
||||
this.states.add([
|
||||
new media.controller.Library({
|
||||
library: media.query( options.library ),
|
||||
multiple: options.multiple,
|
||||
title: options.title,
|
||||
content: 'browse',
|
||||
|
||||
filterable: 'mime-types'
|
||||
library: media.query( options.library ),
|
||||
multiple: options.multiple,
|
||||
title: options.title,
|
||||
content: 'browse',
|
||||
contentUserSetting: false,
|
||||
filterable: 'mime-types'
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue