[Plugin: WP-dTree] Breaks proper script enqueue
-
Hey Ulf,
Been enjoying the plug-in, though there are a few quirks to sort out here and there. The latest version is much improved– good work!
I noticed today that the wp_head() kept enqueuing a Google APIs copy of jQuery 1.4.2, whereas in functions.php I had explicitly de- and re-registered it to load the copy from jQuery’s own CDN, version 1.4.4.
After going through the “deactivate all plug-ins and reactivate one at a time” process, I discovered WP-dTree 4.2 to be the culprit.
I had a quick poke in the code to see if I could figure out where it was coming from, but I came up a bit short, so I’m not sure what the fix is. For that matter, the fact that I couldn’t even find text in the .js or .php files for “google” (to find the line of code calling ajax.googleapis.com) made me at first think I was wrong and that it’s not WP-dTree. But if I deactivate again, the problem goes away. Re-activate and it’s back. It can only be the plug-in and the way its dependencies are resolved.
Just thought you should know!
- The topic ‘[Plugin: WP-dTree] Breaks proper script enqueue’ is closed to new replies.