Widgets: Ensure that audio and video files appear in media library browser upon upload.

Props timmydcrawford.
Amends [40640].
See #32417, #39994, #39995.
Fixes #40803.


git-svn-id: https://develop.svn.wordpress.org/trunk@40836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-05-25 03:19:09 +00:00
parent 1e63cdcf38
commit 5439e18798
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ wp.mediaWidgets = ( function( $ ) {
}
});
if ( specificMimes.length > 0 ) {
mime = specificMimes.join( ',' );
mime = specificMimes;
}
this.states.add([