body_class() function improperly reporting "Chrome" when viewing in IE
I’m currently running into an issue with applying conditional CSS to deal with some quirks in Internet Explorer. Usually, I just use the body_class() function to detect what browser the user is using and then output that into the <body> element. However, I’m running into an issue where in Internet Explorer, it is returning “chrome” instead of “ie” in the DOM.
Has anyone else ever ran into this issue?
Link below to see for yourself.
Thanks in advance.
- The topic ‘body_class() function improperly reporting "Chrome" when viewing in IE’ is closed to new replies.