Customize: Remove IE8 access to customizer to discontinue support.
Uses feature detection for `Array.prototype.indexOf` since it is not implemented in IE8. Props ryankienstra. See #38021. git-svn-id: https://develop.svn.wordpress.org/trunk@38627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c953f0aae0
commit
3521b2f30f
@ -2169,7 +2169,7 @@ function wp_customize_support_script() {
|
||||
<?php endif; ?>
|
||||
|
||||
b[c] = b[c].replace( rcs, ' ' );
|
||||
b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
|
||||
b[c] += ( window.postMessage && request && Array.prototype.indexOf ? ' ' : ' no-' ) + cs;
|
||||
}());
|
||||
</script>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user