Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author thomstark

    (@thomstark)

    Try opening up browser-body-classes-with-shortcodes.php and go to line 22.

    Replace this:
    $is_ie11 = (preg_match(‘/MSIE 11/i’,$agent)) ? true : false;

    with this:
    $is_ie11 = (preg_match(‘/rv:11.0/i’,$agent)) ? true : false;

    Thread Starter cvc1968

    (@cvc1968)

    That works. Thank you, Thom.

    But are you going to make that change to the plugin next update? or will I lose this modification when the next update comes? If so, is there a way to do this with a filter?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MSIE version 11 class?’ is closed to new replies.