[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 Feb 17 19:22: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:  needs-patch     |
----------------------------+-----------------------------

Comment (by scribu):

 > Passing an icon url in the post type registration and then having it
 fall back to the default if its not passed/available.

 That's already the case.

 > Let core handle the messy css and just say that your icon size has to be
 x by x.

 I see no point in custom icon sizes. All icons have the same size. If you
 want it to be smaller, just leave some extra room in the sprite.

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


More information about the wp-trac mailing list