Changeset 6579
- Timestamp:
- 01/09/2008 08:14:29 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 13 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/admin.php
r6556 r6579 5 5 require_once(ABSPATH . 'wp-admin/includes/file.php'); 6 6 require_once(ABSPATH . 'wp-admin/includes/image.php'); 7 require_once(ABSPATH . 'wp-admin/includes/media.php'); 7 8 require_once(ABSPATH . 'wp-admin/includes/import.php'); 8 9 require_once(ABSPATH . 'wp-admin/includes/misc.php'); -
trunk/wp-admin/includes/image.php
r6544 r6579 318 318 } 319 319 320 function media_buttons() { // just a placeholder for now 320 321 321 ?> 322 <img src="./images/media-buttons.gif" alt="" />323 <?php324 }325 add_action( 'media_buttons', 'media_buttons' );326 327 ?> -
trunk/wp-admin/post-new.php
r6546 r6579 6 6 wp_enqueue_script('autosave'); 7 7 wp_enqueue_script('post'); 8 wp_enqueue_script('thickbox'); 9 wp_enqueue_script('media-upload'); 8 10 9 11 require_once ('./admin-header.php'); -
trunk/wp-admin/post.php
r6546 r6579 60 60 61 61 wp_enqueue_script('post'); 62 wp_enqueue_script('thickbox'); 63 wp_enqueue_script('media-upload'); 62 64 63 65 if ( 'draft' == $post->post_status ) -
trunk/wp-includes/script-loader.php
r6574 r6579 85 85 $this->add( 'suggest', '/wp-includes/js/jquery/suggest.js', array('dimensions'), '1.1'); 86 86 $this->add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array('jquery'), '20'); 87 $this->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array('jquery'), '3.1'); 87 88 88 89 if ( is_admin() ) { … … 108 109 $this->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' ); 109 110 $this->add( 'post', '/wp-admin/js/post.js', array('suggest'), '20080102' ); 111 $this->add( 'media-upload', '/wp-admin/js/media-upload.js', false, '20080109' ); 110 112 $this->localize( 'upload', 'uploadL10n', array( 111 113 'browseTitle' => attribute_escape(__('Browse your files')),
Note: See TracChangeset
for help on using the changeset viewer.