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

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

Built from https://develop.svn.wordpress.org/trunk@40836


git-svn-id: http://core.svn.wordpress.org/trunk@40687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-05-25 03:20:41 +00:00
parent 8307924de6
commit bb2e8b0d63
3 changed files with 3 additions and 3 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-beta2-40835';
$wp_version = '4.8-beta2-40836';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.