mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
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([
|
||||||
|
2
wp-admin/js/widgets/media-widgets.min.js
vendored
2
wp-admin/js/widgets/media-widgets.min.js
vendored
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
Block a user