WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37162


Ignore:
Timestamp:
09/04/2018 04:58:18 PM (22 months ago)
Author:
georgestephanis
Comment:

Previously, #33948

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37162 – Description

    initial v1  
    1 Subresource Integrity Hashes (SRI) is now recommended for many CDN sourced CSS and JavaScript as provided for in http://www.w3.org/TR/SRI/ .  Wordpress does not allow SRI code (or anything other than a set list) to be added via wp_*_add_data.  The same applies to javascript loading in addition to stylesheet loading.
     1Subresource Integrity Hashes (SRI) is now recommended for many CDN sourced CSS and JavaScript as provided for in http://www.w3.org/TR/SRI/ .  WordPress does not allow SRI code (or anything other than a set list) to be added via wp_*_add_data.  The same applies to javascript loading in addition to stylesheet loading.
    22
    33wp_*_add_data should support these tags instead of currently silently ignoring them.  The two tag keys are crossorigin and integrity.