[wp-trac] [WordPress Trac] #14559: wp_admin_css Filter Broken

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 10:48:51 UTC 2011


#14559: wp_admin_css Filter Broken
----------------------------+-----------------------
 Reporter:  tech163         |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.0.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------
Changes (by noxion):

 * cc: noxion (added)
 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 Look, I've fixed that adding the action hook to my template:


 {{{
 function my_wp_admin_css() {
  echo '<link rel="stylesheet" type="text/css" href="'
 .get_bloginfo('template_url').'/wp-admin.css">';
 }

 add_action('wp_admin_css','my_wp_admin_css');
 apply_filters( 'wp_admin_css','my_wp_admin_css' );

 }}}

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


More information about the wp-trac mailing list