[wp-trac] [WordPress Trac] #47183: Console warning with Dashicons font and input type="radio"
WordPress Trac
noreply at wordpress.org
Thu May 9 23:58:52 UTC 2019
#47183: Console warning with Dashicons font and input type="radio"
----------------------------+---------------------
Reporter: aduth | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2.1
Component: Administration | Version: 5.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
----------------------------+---------------------
Comment (by timph):
I ran into this on the frontend of a site when logged in as admin. I
didn't check other roles, but probably still the same result if the
wpadminbar is displayed. I don't have any radio buttons as far as I can
tell anywhere. Maybe this is just because of the search icon on the input
field though? Not sure.
I tried a fresh install using twenty-nineteen, and
https://github.com/WPTRT/theme-unit-test imported:
[[Image(https://i.imgur.com/kO1sktn.png)]]
As a note, it's pretty wacky that it that this gets triggered on resize
too, which is seen above in ss with the 100 warnings in console.
Browser: Chrome Version 70.0.3538.77 (Official Build) (64-bit)
OS: Ubuntu 18.04.2 LTS
Just deleting the line locally in sources tab fixed it, and I applied
[attachment:"47183.patch"] to the test install and no longer am receiving
the warnings.
I agree with @superpoincare though that we should not be enablers for old
IE versions and remove the .eot references and file for dashicons
completely. Many themes also enqueue dashicons on the frontend for icons
used inside the theme, so I'd assume the same would apply for non-logged
in users in those situations. It reduces bundle size, and prevents this
situation from happening again, so seems like a win/win kind of scenario.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47183#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list