IE 11 support was removed from WordPress 5.8 according to this post: https://make.www.ads-software.com/core/2021/06/28/miscellaneous-developer-focused-changes-in-wordpress-5-8/
The following code was removed from WP 5.8 in the file wp-includes/script-loader.php:
$scripts->add( 'wp-polyfill', null, array( 'wp-polyfill' ) );
did_action( 'init' ) && $scripts->add_inline_script(
'wp-polyfill',
wp_get_script_polyfill(
$scripts,
array(
'\'fetch\' in window' => 'wp-polyfill-fetch',
'document.contains' => 'wp-polyfill-node-contains',
'window.DOMRect' => 'wp-polyfill-dom-rect',
'window.URL && window.URL.prototype && window.URLSearchParams' => 'wp-polyfill-url',
'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata',
'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest',
'\'objectFit\' in document.documentElement.style' => 'wp-polyfill-object-fit',
)
)
);
]]>first of all I would like to thank you for the beautiful plugin. Complianz is by far the most complete GDPR WordPress plugin I could find so far.
Unfortunately, it now causes several problems in Internet Explorer 11.
First, the cookie banner is not displayed in IE 11 – so the user cannot give his consent to the cookies. Further it causes various errors on the web pages in Internet Explorer. Depending on the structure of the pages and depending on the plugins used, it may happen that parts of the page are not displayed, are moved or no longer function correctly.
To exclude a faulty configuration, I have tested your page in IE 11. The same or similar errors occur here: The banner is not displayed, different sections do not work (e.g. FAQ-Accordion), are not displayed (Support Ticket Form) or are displayed incorrectly (Reviews, Iconboxes on ?home“, Subscribe-Form at the end of the page, …).
Is there a solution planned for the IE 11 compatibility, or are there already solutions available?
I look forward to your answers.
With kind regards
Timo K.
Can the problem be solved to work in IE 11, or not. And don’t tell me to search the forum because no solution appears.
Thank you very much in advance.
Here are the files that trigger the errors:
– SCRIPT1006: Expected ‘)’ – autoLoadAssets.min.js (1,2757)
– SCRIPT1002: Syntax error – init.min.js (1,990)
I believe the issue on the init.min.js has to do with ES6 code, as ES6 is not supported on IE11.
I do think these issues are worth looking into because the CodeMirror library does work on IE11 but using your plugin breaks that functionality.
In any case, great job with the plugin.
]]>Ideally, also the heading at top with the page title and logo don’t align properly. They should be middle aligned and matched to each other. Only IE 11 renders this wrong, too.
Some compatibility fixes for this browser experience would be greatly appreciated! (Our visitors tend to be using systems forcing this browser as default)
Thanks!
]]>Unfortunately, 14% of our visitors still use IE 11 or below. Is this a bug or a known incompatibility? If so, is there a workaround so we can still provide useful pages for users on these older browsers?
Thanks.
]]>