Changeset 32125 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 04/14/2015 03:30:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r31994 r32125 411 411 412 412 $scripts->add( 'shortcode', "/wp-includes/js/shortcode$suffix.js", array( 'underscore' ), false, 1 ); 413 $scripts->add( 'media-models', "/wp-includes/js/media /models$suffix.js", array( 'wp-backbone' ), false, 1 );413 $scripts->add( 'media-models', "/wp-includes/js/media-models$suffix.js", array( 'wp-backbone' ), false, 1 ); 414 414 did_action( 'init' ) && $scripts->localize( 'media-models', '_wpMediaModelsL10n', array( 415 415 'settings' => array( … … 421 421 // To enqueue media-views or media-editor, call wp_enqueue_media(). 422 422 // Both rely on numerous settings, styles, and templates to operate correctly. 423 $scripts->add( 'media-views', "/wp-includes/js/media /views$suffix.js", array( 'utils', 'media-models', 'wp-plupload', 'jquery-ui-sortable', 'wp-mediaelement' ), false, 1 );423 $scripts->add( 'media-views', "/wp-includes/js/media-views$suffix.js", array( 'utils', 'media-models', 'wp-plupload', 'jquery-ui-sortable', 'wp-mediaelement' ), false, 1 ); 424 424 $scripts->add( 'media-editor', "/wp-includes/js/media-editor$suffix.js", array( 'shortcode', 'media-views' ), false, 1 ); 425 $scripts->add( 'media-audiovideo', "/wp-includes/js/media /audio-video$suffix.js", array( 'media-editor' ), false, 1 );425 $scripts->add( 'media-audiovideo', "/wp-includes/js/media-audiovideo$suffix.js", array( 'media-editor' ), false, 1 ); 426 426 $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models', 'media-audiovideo', 'wp-playlist' ), false, 1 ); 427 427 … … 557 557 $scripts->add( 'list-revisions', "/wp-includes/js/wp-list-revisions$suffix.js" ); 558 558 559 $scripts->add( 'media-grid', "/wp-includes/js/media /grid$suffix.js", array( 'media-editor' ), false, 1 );559 $scripts->add( 'media-grid', "/wp-includes/js/media-grid$suffix.js", array( 'media-editor' ), false, 1 ); 560 560 $scripts->add( 'media', "/wp-admin/js/media$suffix.js", array( 'jquery' ), false, 1 ); 561 561 did_action( 'init' ) && $scripts->localize( 'media', 'attachMediaBoxL10n', array(
Note: See TracChangeset
for help on using the changeset viewer.