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:
parent
8307924de6
commit
bb2e8b0d63
|
@ -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([
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue