Open dotherightthing opened 5 years ago
class-wpdtrt-map-plugin.php:
class-wpdtrt-map-plugin.php
render_js_head
render_css_head
Functions wp_enqueue_scripts + enqueue_stylecan't be used here as SRI integrity metadata isn't currently supported by WP. Subresource Integrity Hashes "defines a mechanism by which user agents may verify that a fetched resource has been delivered without unexpected manipulation." See: https://www.w3.org/TR/SRI/ https://core.trac.wordpress.org/ticket/22249 https://github.com/dotherightthing/wpdtrt-plugin/issues/78 Can this resource be pulled without sending the SRI attributes, as jQuery also uses SRI now
Functions wp_enqueue_scripts + enqueue_stylecan't be used here
wp_enqueue_scripts
enqueue_style
as SRI integrity metadata isn't currently supported by WP.
Subresource Integrity Hashes "defines a mechanism by which user agents may verify
that a fetched resource has been delivered without unexpected manipulation."
See:
https://www.w3.org/TR/SRI/
https://core.trac.wordpress.org/ticket/22249
https://github.com/dotherightthing/wpdtrt-plugin/issues/78
Can this resource be pulled without sending the SRI attributes, as jQuery also uses SRI now
Is this still an issue, or is there a clean way of implementing this now?
Latest Mapbox script does not use SRI integrity metadata.
TODO: replace with wp_enqueue_scripts + enqueue_style.
class-wpdtrt-map-plugin.php
:render_js_head
render_css_head
Is this still an issue, or is there a clean way of implementing this now?