plugin update not reflected in minified javascript
-
Hi.
I’m new to WordPress development, so apologies in advance. Relevant links are at the end.
We have developed a WP plugin to make it easy for bloggers to utilise our service. It is working okay in a handful of places, but breaks on a site with W3TC. We’re in email contact with the non-technical site owner, trying to diagnose it and sort it out.
I can see that a JavaScript error in a combined and minified .js resource is preventing our js routines from executing. What is double-wierd is that after updating our plugin, the combined and minified .js contains the earlier, out-of-date variants.
I don’t yet know whether it’s our .js breaking things once processed, or if it’s other plugin script being bundled / minified in the same server resource, because the server isn’t sending the much-more-solid version that is sitting in the sites tibdit plugin directory.
You will see from the jsbin linked below that there are a number of .js errors and warnings reported, some in our part, most in the subsequent part.
Is there any way to easily and temporarily have our plugin .js go around W3TC, either in an easy way for the site admin, or by including something in our code?
Are there other approaches worth exploring?
3rd party site:
https://www.haggerston-times.com/our plugin js:
https://www.haggerston-times.com/wp-content/plugins/tibdit/tib-functions.jsit’s served up in
(prettified jsbin version: https://jsbin.com/betavi/1/watch?html,js,output)
https://www.haggerston-times.com/wp-content/cache/minify/000000/dcpLCoAwDADRCxlLj2RrhWhsYpPg5_TSnRtXA4-J4UGiCQi3okFzQzH92hCDYZrRemDxmg25dj4F1KU0EBaXsB5e2j1mJm6JL9ix_k5uSNqPFw.jsMany thanks.
- The topic ‘plugin update not reflected in minified javascript’ is closed to new replies.