Changeset 6572
- Timestamp:
- 01/08/2008 06:39:09 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r6412 r6572 29 29 wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback')); 30 30 31 wp_enqueue_script( ' fat' );31 wp_enqueue_script( 'admin' ); 32 32 33 33 $editing = false; -
trunk/wp-includes/script-loader.php
r6570 r6572 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( 'jquery-color', '/wp-includes/js/jquery/jquery.color.js', array('jquery'), '1.0'); 87 88 88 89 if ( is_admin() ) { 89 global $pagenow; 90 $man = false; 91 switch ( $pagenow ) : 92 case 'post.php' : 93 case 'post-new.php' : 94 $man = 'postmeta'; 95 break; 96 case 'page.php' : 97 case 'page-new.php' : 98 $man = 'pagemeta'; 99 break; 100 case 'link-add.php' : 101 case 'link.php' : 102 $man = 'linkmeta'; 103 break; 104 endswitch; 90 $this->add( 'admin', '/wp-admin/js/admin.js', array('jquery-color'), '20080107'); 105 91 $this->add( 'ajaxcat', '/wp-admin/js/cat.js', array( 'wp-lists' ), '20071101' ); 106 92 $this->localize( 'ajaxcat', 'catL10n', array(
Note: See TracChangeset
for help on using the changeset viewer.