Make WordPress Core


Ignore:
Timestamp:
11/21/2012 11:04:23 AM (9 years ago)
Author:
koopersmith
Message:

Media: Add filters for image-only libraries. see #22514, #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r22667 r22745  
    10561056            frame = wp.media( options );
    10571057
     1058            frame.get('library').set( 'filterable', 'uploaded' );
     1059
    10581060            frame.toolbar.on( 'activate:select', function() {
    10591061                frame.toolbar.view().set({
Note: See TracChangeset for help on using the changeset viewer.