WordPress.org

Make WordPress Core

Changeset 40836


Ignore:
Timestamp:
05/25/17 03:19:09 (4 months ago)
Author:
westonruter
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/widgets/media-widgets.js

    r40827 r40836  
    256256            }); 
    257257            if ( specificMimes.length > 0 ) { 
    258                 mime = specificMimes.join( ',' ); 
     258                mime = specificMimes; 
    259259            } 
    260260 
Note: See TracChangeset for help on using the changeset viewer.