I'm using a script that is based on jQuery, so I'm not enqueue-ing jQuery directly, but via passing it in the array of dependent scripts:
wp_enqueue_script("jquery-plugin-name",'http://hostname.il/blogname/wp-content/themes/twentyten/js/jquery-plugin-name.js', array('jquery'), '1');
This is loading jQuery v1.4.4, and it weighs 76kb, which seems very heavy, although the file looks compressed.
I have 2 questions:
- Is there I way in which I can make it load the latest version of jQuery?
- How can I make sure that the loaded file if minified?