My wordpress loads whole jQuery UI library
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.menu.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.button.min.js?ver=1.9.2"></script>
<script type="text/javascript" src="http://example.com/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js?ver=1.9.2"></script>
Is this normal? I didn’t noticed the same behavior earlier.
3 Answers
jQuery-UI is included in every default WP installation.
Whether it is loaded depends on your theme and/or plugin(s).
Three Options:
- live with it
- disable plugins one by one (and switch theme), figure out which is responsible and whether that’s needed
- manually deregister it (something, i.e. a plugin, will probably break)