[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:10:45 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 ryanduff):
Agreed on the concept. But I think what's needed is a fundamental change
in the way all the post type icons are displayed.
Passing an icon url in the post type registration and then having it fall
back to the default if its not passed/available. Let core handle the messy
css and just say that your icon size has to be x by x. Of course the
default post type definitions in core should match and use this method
instead of the current way.
KISS
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20052#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list