[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:31:55 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):
> Restricting it to couple of values passed from PHP and auto-generating
the css afterwards seems quite limiting
We trade flexibility for convenience; that's what most APIs do. If someone
doesn't want to use it, they're free to write the CSS by hand.
> A good enhancement would be to add an HTML ID derived from the CPT's
name on the div that takes the icon as a background so it could be
targeted easier with css.
+1
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20052#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list