[wp-trac] Re: [WordPress Trac] #3824: Transition the Admin Area over to using jQuery

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 20 22:40:49 GMT 2007


#3824: Transition the Admin Area over to using jQuery
-------------------------------------+--------------------------------------
 Reporter:  jeresig                  |        Owner:  anonymous
     Type:  task                     |       Status:  new      
 Priority:  normal                   |    Milestone:  2.2      
Component:  Administration           |      Version:  2.1.1    
 Severity:  normal                   |   Resolution:           
 Keywords:  jquery javascript admin  |  
-------------------------------------+--------------------------------------
Comment (by aercolino):

 how to install jquery/interface in wordpress 2.1 (admin)

 wp-admin/index.php:
 {{{
 17a18
 > wp_enqueue_script('interface');
 }}}

 wp-admin/page-new.php:
 {{{
 7a8
 > wp_enqueue_script('interface');
 }}}

 wp-admin/page.php:
 {{{
 56a57
 >       wp_enqueue_script('interface');
 }}}

 wp-admin/post-new.php:
 {{{
 7a8
 > wp_enqueue_script('interface');
 }}}

 wp-admin/post.php:
 {{{
 59a60
 >       wp_enqueue_script('interface');
 }}}

 wp-includes/script-loader.php:
 {{{
 32a33,34
 >               $this->add( 'jquery', '/wp-includes/js/jquery/jquery.js',
 false, '1.1.1');
 >               $this->add( 'interface', '/wp-
 includes/js/jquery/interface.js', array('jquery'), '1.1.1');
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3824#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list