You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently updated to the newest release of this plugin, but ran into some issues caused by users having cached versions of the wp-h5p-xapi.js still loading when they called various pages with H5P activities embedded. It appears that this plugin isn't adding a version to the end of the wp_enqueue() functions, so there is no automatic cache busting of updated scripts/styles (and wp-h5p-xapi.js received an update in the latest release). The enqueue functions in question appear to live here:
We recently updated to the newest release of this plugin, but ran into some issues caused by users having cached versions of the wp-h5p-xapi.js still loading when they called various pages with H5P activities embedded. It appears that this plugin isn't adding a version to the end of the wp_enqueue() functions, so there is no automatic cache busting of updated scripts/styles (and wp-h5p-xapi.js received an update in the latest release). The enqueue functions in question appear to live here:
wp-h5p-xapi/wp-h5p-xapi.php
Lines 20 to 26 in bdc4cd1
For ideas about how to implement a fix, see https://wordimpress.com/wordpress-css-and-js-cache-busting/ and https://themetry.com/cache-busting-wordpress/ or https://developer.wordpress.org/reference/functions/wp_enqueue_script/#parameters. I'm not the most skilled developer, but could help with a PR if desired?
The text was updated successfully, but these errors were encountered: