[wp-trac] [WordPress Trac] #14959: Pass post type as class to screen_icon()

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 25 13:10:50 UTC 2010

#14959: Pass post type as class to screen_icon()
 Reporter:  jfarthing84  |       Owner:                        
     Type:  enhancement  |      Status:  new                   
 Priority:  normal       |   Milestone:  Awaiting Review       
Component:  Post Types   |     Version:  3.0.1                 
 Severity:  normal       |    Keywords:  dev-feedback has-patch
 Just like we are able to set custom icons for post types in the admin menu
 via CSS by using the #menu-posts-{post_type}, we should be able to do the
 same for screen_icon(). The post type should be passed as a class, along
 with icon32. Perhaps "icon32-{post_type}".

Ticket URL: <http://core.trac.wordpress.org/ticket/14959>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list