Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #26630


Ignore:
Timestamp:
02/01/2014 09:49:06 PM (13 years ago)
Author:
TobiasBg
Comment:

I received a report for this happening on 3.8.1 with IE 8 as well. Can somebody confirm this for any IE on trunk?

Quick test code (e.g. for functions.php):

function add_my_plugin_icon_to_menu() {
  add_menu_page( 'My Plugin', 'My Plugin', 'read', 'my_plugin', '__return_true', 'dashicons-list-view' );
}
add_action( 'admin_menu', 'add_my_plugin_icon_to_menu' );

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26630

    • Property Keywords ui-focus added
  • Ticket #26630 – Description

    initial v2  
    55Note the `'dashicons-list-view'` as the `$icon_url` parameter, which let's the admin menu entry use the List View Dashicon since [26664].
    66
    7 This works in all browsers, except in IE (tested with IE 11 on different computers and different sites), where there's a small "residue" of some control character icon on the lower right corner of the actual icon, see the attached screenshot.
     7This works in all browsers, except in IE (tested with IE 11 on different computers and different sites), where there's a small "residue" of some control character icon on the lower right corner of the actual icon:
     8[[Image(https://core.trac.wordpress.org/raw-attachment/ticket/26630/ie-dashicons-bug.png)]]
     9
    810When investigating this with the developer tools in IE, this disappears once I remove the `dashicons` class from the `div` and leave just the `dashicons-list-view` class.