Hi,
Thank you for your interest for help you were right.
I had a php snippet who does manages the assets but i can’t revert everything back to normal even after disabling the php snippet:
I have asked before on stackoverflow to hide the version of wordpress, css & javascript files but this result in a bug where when we update the plugins the browser couldn’t detect the new updated files so it still the same.
below the php snippet code someone helped before here and provided, we need to disable its function so we deleted it form the functions.php but the issue is still there, the ver= parameter still removed when we try to access the source code of the website from the browser, we flushed the cash and tried in icognito mode but still the same disabling the php snippet doesn’t make everything to back its normal.
// remove version from head
remove_action('wp_head', 'wp_generator');
// remove version from rss
add_filter('the_generator', '__return_empty_string');
// remove version from scripts and styles
function shapeSpace_remove_version_scripts_styles($src) {
if (strpos($src, 'ver=')) {
$src = remove_query_arg('ver', $src);
}
return $src;
}
add_filter('style_loader_src', 'shapeSpace_remove_version_scripts_styles', 9999);
add_filter('script_loader_src', 'shapeSpace_remove_version_scripts_styles', 9999);
We need to have the ver= parameter next to each css and javascript file as before to test that everything is back to normal then we will activate your plugin.
Best Regards