Index: wp-admin/menu-header.php
===================================================================
--- wp-admin/menu-header.php (revision 25099)
+++ wp-admin/menu-header.php (working copy)
@@ -70,8 +70,10 @@
$img = '';
// if the string 'none' (previously 'div') is passed instead of an URL, don't output the default menu image
// so an icon can be added to div.wp-menu-image as background with CSS.
- if ( ! empty( $item[6] ) )
- $img = ( 'none' === $item[6] || 'div' === $item[6] ) ? '
' : '';
+ if ( ! empty( $item[6] ) ) {
+ $attr = preg_match( '/^data:image\b/m', $item[6] ) ? ' height="16px" width="16px"' : '';
+ $img = ( 'none' === $item[6] || 'div' === $item[6] ) ? '
' : '';
+ }
$arrow = '