Review the current Query String implementation and consider using the method below for removing the query string parameter.
function ratify_remove_ver_from_resources( $src ) {
if( strpos( $src, 'ver=' ) ) {
$src = remove_query_arg( 'ver', $src );
}
return $src;
}
add_filter( 'style_loader_src', 'ratify_remove_ver_from_resources', 9999 );
add_filter( 'script_loader_src', 'ratify_remove_ver_from_resources', 9999 );
The current method is clunky.