WordPress.org

Make WordPress Core

Changeset 22776


Ignore:
Timestamp:
11/21/2012 05:28:14 PM (8 years ago)
Author:
koopersmith
Message:

Media: Make media views dependent on jQuery UI sortable. see #22284, #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r22775 r22776  
    330330    // To enqueue media-views or media-editor, call wp_enqueue_media().
    331331    // Both rely on numerous settings, styles, and templates to operate correctly.
    332     $scripts->add( 'media-views',  "/wp-includes/js/media-views$suffix.js",  array( 'media-models', 'wp-plupload' ), false, 1 );
     332    $scripts->add( 'media-views',  "/wp-includes/js/media-views$suffix.js",  array( 'media-models', 'wp-plupload', 'jquery-ui-sortable' ), false, 1 );
    333333    $scripts->add( 'media-editor', "/wp-includes/js/media-editor$suffix.js", array( 'shortcode', 'media-views' ), false, 1 );
    334334    $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models' ), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.