wp_script_is(‘enqueued’) true, but file not requested in HTML

WordPress does not register a script with the handle jquery-ui by default, and it will skip printing the markup for any enqueued script for which it is unable to resolve all dependencies at the time of printing. So unless you or another extension is registering or enqueuing a script with the jquery-ui handle, your script which depends upon it will not print.

If your script does depend on jquery-ui, the following is a list of jQuery UI component handles which are registered by default:

  • jquery-ui-core (also includes jquery-ui-widget and jquery-ui-position)
  • jquery-ui-accordion
  • jquery-ui-autocomplete
  • jquery-ui-button
  • jquery-ui-datepicker
  • jquery-ui-dialog
  • jquery-ui-menu
  • jquery-ui-mouse
  • jquery-ui-progressbar
  • jquery-ui-selectmenu
  • jquery-ui-slider
  • jquery-ui-spinner
  • jquery-ui-tabs
  • jquery-ui-tooltip
  • jquery-ui-checkboxradio
  • jquery-ui-controlgroup
  • jquery-ui-draggable
  • jquery-ui-droppable
  • jquery-ui-resizable
  • jquery-ui-selectable
  • jquery-ui-sortable
  • jquery-ui-position
  • jquery-ui-widget

A nicely formatted list of all of the scripts which WordPress registers by default can be found on the wp_enqueue_scripts() documentation page. Alternately, they can also be found in the source of the wp_default_scripts() function.