Remove svgxuse.js altogether. (IE 9, 10, 11 would fail to show social icons on both the non-AMP and AMP version of sites.)
Load svgxuse.js only if AMP is not in use. (IE 9, 10, 11 would fail to show social icons on the AMP version of the site.)
Option two might be best for now given that IE 11 is still in the browser support list for many StudioPress themes, such as Genesis Sample, and IE 11 is not officially supported by AMP anyway: https://amp.dev/support/faq/supported-browsers
Bare
script
elements are not allowed by AMP, so our use ofsvgxuse.js
results in a validation error on all sites using the plugin with AMP.https://github.com/studiopress/simple-social-icons/blob/a9105323026d27b249b780ede7f79e4ca0c85da5/simple-social-icons.php#L487
Options to solve this include:
Option two might be best for now given that IE 11 is still in the browser support list for many StudioPress themes, such as Genesis Sample, and IE 11 is not officially supported by AMP anyway: https://amp.dev/support/faq/supported-browsers