[wp-trac] [WordPress Trac] #11704: conditional tag for admin panel

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 3 16:05:33 UTC 2010


#11704: conditional tag for admin panel
-----------------------------------------------+----------------------------
 Reporter:  F J Kaiser                         |        Owner:            
     Type:  feature request                    |       Status:  closed    
 Priority:  normal                             |    Milestone:            
Component:  General                            |      Version:  2.8.5     
 Severity:  normal                             |   Resolution:  worksforme
 Keywords:  admin, panel, conditional comment  |  
-----------------------------------------------+----------------------------
Changes (by Denis-de-Bernardy):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  Unassigned =>


Comment:

 you can use is_admin() to only load them on the front end. and you should
 hook into wp_print_styles/wp_print_scripts to enqueue them.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11704#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list