Custom Post Type with Custom Icon Retains Post Icon Ghost
|Reported by:||wmrom||Owned by:||nacin|
|Component:||Posts, Post Types||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.