Changeset 6572 for trunk/wp-includes/script-loader.php
- Timestamp:
- 01/08/2008 06:39:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.