Media Grid: Ignore user setting for content.
fixes #29034. Built from https://develop.svn.wordpress.org/trunk@29305 git-svn-id: http://core.svn.wordpress.org/trunk@29087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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'
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
||||
2
wp-includes/js/media-grid.min.js
vendored
2
wp-includes/js/media-grid.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user