@art137 If the plugin shows up under “Plugin Manager” then that’s a good sign and it means it’s not ignored by Asset CleanUp Pro (that would be surprising as there are no special coding rules for certain plugins to be hidden in the management area). As for the unused JS, are you sure that JS is not loading from another JS file or from an inline SCRIPT tag? What’s the URL to the file?
Thread Starter
art137
(@art137)
Thanks for verifying that. When I disable my caching plugin (Litespeed) and run it on Lighthouse the file is definitely webinarpress
wp-content/plugins/wpwebinarsystem/wpws-js/build/static/js
/main.js?ver=2.24.38
But what surprises me is AC didn’t list the plugin in the assets list on the page. That’s what made me check at the plugin control dashboard.
Anyway once I was able to track down that script WebinarPress created a patch and the problem was solved
But like I said I was surprised that AC didn’t list the plugin.
@art137 I’ve downloaded and installed the WebinarPress plugin and managed to locate the file you mentioned and noticed it loading in the page where you register for a webinar.
After I’ve made some tests, I noticed that due to the way that page is generated (it’s not a standard WordPress page and it’s generated on the fly by the plugin) and not having any wp_head() or wp_footer() (basic WordPress functions called on any standard page), it’s not detectable by Asset CleanUp.
In fact, the moment the following query string is loaded on the page – /?wspage=register – WebinarPress generates the HTML code (including the hardcoded SCRIPT tags), prints it, and then stops the execution of any other PHP code. It’s something custom-made outside the range of Asset CleanUp’s detection.
I hope it helps! I’m glad you managed to solve the problem, eventually!
Thread Starter
art137
(@art137)
Interesting, thanks for the details, that explains a lot of things I been discovering about this plugin.
Yeah, I was able to track down what code was basically useless but they took care of it right away. Man, it is so nice to have guys like you all helping us out even if it’s for the free version. Seems to be a rarity with some of the others, thank you so much