[wp-trac] [WordPress Trac] #20052: Support sprites for admin menu icons in register_post_type and add_menu_page

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 27 12:48:40 UTC 2012


#20052: Support sprites for admin menu icons in register_post_type and
add_menu_page
----------------------------+-----------------------------
 Reporter:  helenyhou       |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------
Changes (by kovshenin):

 * keywords:  needs-patch => has-patch


Comment:

 In [attachment:20052.diff]:

 First pass at handling an array (or two) for custom post types
 `menu_icon`. Here's [https://gist.github.com/3187740 a gist] with three
 post types and different menu_icon for each, will help test and debug. I
 don't own a Retina device, but here's a screenshot from my iOS emulator
 running Retina mode: http://cl.ly/image/0n1w362L3Z15

 Feedback welcome :)

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


More information about the wp-trac mailing list