- Sep 8, 2019
- 365
- 191
- 43
There was a comment concern about this code and a guy asked if it is a virus:
wp_enqueue_script( 'wistia-e-v1', 'https://fast.wistia.com/assets/external/E-v1.js', [], null, true ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
You can check on their official Github:
github.com
Exactly this was your concern. It's on the official github page.
TLDR; NO VIRUS AT ALL. CALM YOUR TITS.
wp_enqueue_script( 'wistia-e-v1', 'https://fast.wistia.com/assets/external/E-v1.js', [], null, true ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
You can check on their official Github:
Improve script enqueue for Wistia tutorials on settings page · Issue #2659 · wp-media/wp-rocket
Is your feature request related to a problem? Please describe. Currently one of the script from Wistia ('https://fast.wistia.com/assets/external/E-v1.js) is called 14 (!) times on the settings page...
Exactly this was your concern. It's on the official github page.
TLDR; NO VIRUS AT ALL. CALM YOUR TITS.