diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index c1a9252908..cb18293c72 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -1188,13 +1188,13 @@ // Add the default states. this.states.add([ // Main states. - new media.controller.Library( _.defaults({ + new media.controller.Library({ selection: options.selection, library: media.query( options.library ), multiple: this.options.multiple, menu: 'main', toolbar: 'select' - }, attributes ) ), + }), new media.controller.Upload({ menu: 'main'