Any JS script enqueued with the SP()->plugin->enqueue_script() function does not seem to respect the $ver parameter for some reason.
These scripts are always served with the WP version as the version number which makes cache-busting impossible.
The SP()->plugin->enqueue_script() function relies on the WP_Scripts and WP_Dependencies class to enqueue the scripts so this might ultimately be an issue with WP itself.
The SP()->plugin->enqueue_script() function is located in sp-api/sp-api-class-spcplugin.php file.
Any JS script enqueued with the SP()->plugin->enqueue_script() function does not seem to respect the $ver parameter for some reason.
These scripts are always served with the WP version as the version number which makes cache-busting impossible.
The SP()->plugin->enqueue_script() function relies on the WP_Scripts and WP_Dependencies class to enqueue the scripts so this might ultimately be an issue with WP itself.
The SP()->plugin->enqueue_script() function is located in sp-api/sp-api-class-spcplugin.php file.