Summary
It is possible to inject attributes into the <script> tag via the ‘wp_script_attributes’ filter
1
, and the type attribute is automatically injected if needed.
1
RSS feeds can also include <script> tags, which can be used to add custom JavaScript to the feed.
According to