[wp-trac] [WordPress Trac] #22249: Add ability to set or remove attributes on enqueued scripts and styles.
WordPress Trac
noreply at wordpress.org
Fri Sep 4 20:05:32 UTC 2015
#22249: Add ability to set or remove attributes on enqueued scripts and styles.
-------------------------------------------------+-------------------------
Reporter: ryanve | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future
Component: Script Loader | Release
Severity: normal | Version:
Keywords: dev-feedback has-patch reporter- | Resolution:
feedback 2nd-opinion needs-testing | Focuses:
-------------------------------------------------+-------------------------
Comment (by bhubbard):
Any update on this, I would really like to use this filter for Cloudflare:
https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-
Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-
I also want to use it to add the integrity and crossorigin when I register
Bootstrap scripts from BootstrapCDN:
<link
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc=
sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
crossorigin="anonymous">
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22249#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list