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:
parent
1e63cdcf38
commit
5439e18798
@ -255,7 +255,7 @@ wp.mediaWidgets = ( function( $ ) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
if ( specificMimes.length > 0 ) {
|
if ( specificMimes.length > 0 ) {
|
||||||
mime = specificMimes.join( ',' );
|
mime = specificMimes;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.states.add([
|
this.states.add([
|
||||||
|
Loading…
Reference in New Issue
Block a user