WordPress.org

Ideas

wp_register_script - Subresource Integrity

  1. Chris G. Clapp
    Inactive

    I would like to suggest that Subresource Integrity be added to the wp_register_script / wp_register_style functions to be used along with CDN resources such as Bootstrap CDN. If someone hacks into the CDN, bad code can be delivered to the site's users without the site owner's knowledge. Wouldn't be hard, just an extra field in each function.

    https://www.maxcdn.com/blog/bootstrapcdn-subresource-integrity/

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea is under consideration