Changeset 22567 for trunk/wp-includes/script-loader.php
- Timestamp:
- 11/14/2012 07:17:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r22516 r22567 299 299 ) ); 300 300 301 $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox', ' mce-view', 'media-views' ), false, 1 );301 $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox', 'shortcode', 'media-views' ), false, 1 ); 302 302 303 303 $scripts->add( 'hoverIntent', "/wp-includes/js/hoverIntent$suffix.js", array('jquery'), 'r6', 1 ); … … 327 327 $scripts->add( 'shortcode', "/wp-includes/js/shortcode$suffix.js", array( 'underscore' ), false, 1 ); 328 328 $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models' ), false, 1 ); 329 did_action( 'init' ) && $scripts->localize( 'mce-view', '_wpMceViewL10n', array(330 'contentWidth' => isset( $GLOBALS['content_width'] ) ? $GLOBALS['content_width'] : 800,331 'editGallery' => __( 'Edit Gallery' ),332 ) );333 329 334 330 if ( is_admin() ) {
Note: See TracChangeset
for help on using the changeset viewer.