Changeset 22072
- Timestamp:
- 09/27/2012 08:04:34 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.css
r22031 r22072 6217 6217 6218 6218 #dashboard_quick_press .wp-media-buttons { 6219 margin: 0 0 .2em 8px;6219 margin: 0 0 .2em 1px; 6220 6220 padding: 0; 6221 6221 } -
trunk/wp-admin/edit-form-advanced.php
r22007 r22072 18 18 if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) { 19 19 add_thickbox(); 20 wp_enqueue_script('media-upload'); 21 wp_enqueue_script( 'media- views' );20 21 wp_enqueue_script( 'media-upload' ); 22 22 wp_enqueue_style( 'media-views' ); 23 23 wp_plupload_default_settings(); 24 24 add_action( 'admin_footer', 'wp_print_media_templates' ); 25 26 wp_enqueue_script( 'mce-view' );27 25 } 28 26 -
trunk/wp-admin/includes/media.php
r22039 r22072 378 378 */ 379 379 function media_buttons($editor_id = 'content') { 380 wp_enqueue_script( 'media-upload' ); 381 wp_enqueue_style( 'media-views' ); 382 wp_plupload_default_settings(); 383 add_action( 'admin_footer', 'wp_print_media_templates' ); 384 380 385 $context = apply_filters('media_buttons_context', __('Upload/Insert %s')); 381 386 -
trunk/wp-admin/js/media-upload.js
r22044 r22072 149 149 }; 150 150 151 $( wp.mce.media.init ) 151 $( wp.mce.media.init ); 152 152 }(jQuery)); -
trunk/wp-includes/script-loader.php
r22036 r22072 298 298 ) ); 299 299 300 $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox', 'mce-view' ), false, 1 );300 $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox', 'mce-view', 'media-views' ), false, 1 ); 301 301 302 302 $scripts->add( 'hoverIntent', "/wp-includes/js/hoverIntent$suffix.js", array('jquery'), 'r6', 1 );
Note: See TracChangeset
for help on using the changeset viewer.