[wp-trac] [WordPress Trac] #12992: Custom Post Type with Custom Icon Retains Post Icon Ghost
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 14 03:26:56 UTC 2010
#12992: Custom Post Type with Custom Icon Retains Post Icon Ghost
--------------------------+-------------------------------------------------
Reporter: wmrom | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 3.0
Component: Post Types | Version:
Severity: normal | Keywords: post types, icons, admin menu
--------------------------+-------------------------------------------------
When I attach an icon to a custom post type in the latest 3.0beta1
version, the ghost of a 'post' icon was still visible. On hover, the
'ghost image' is covered by my icon, though I can see parts of it sticking
out from the edges.
The problem is from the fact that the <li> item still had the 'menu-icon-
posts' class, calling the posts background image, but slapping the new
icon on top. It uses opacity to get the same effect that the other menu
items get, hence the ghost image underneath it. I've fixed the problem and
included the diff from wp-admin/menu.php, as well as screenshots.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12992>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list