Make WordPress Core

Changeset 38627


Ignore:
Timestamp:
09/20/2016 04:01:58 AM (8 years ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r38470 r38627  
    21702170
    21712171            b[c] = b[c].replace( rcs, ' ' );
    2172             b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
     2172            b[c] += ( window.postMessage && request && Array.prototype.indexOf ? ' ' : ' no-' ) + cs;
    21732173        }());
    21742174    </script>
Note: See TracChangeset for help on using the changeset viewer.