[wp-trac] [WordPress Trac] #49312: jQuery UI and dependances

WordPress Trac noreply at wordpress.org
Tue Jan 28 15:04:43 UTC 2020


#49312: jQuery UI and dependances
-----------------------------------------+-----------------------------
 Reporter:  Seldimi                      |      Owner:  (none)
     Type:  defect (bug)                 |     Status:  new
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  External Libraries           |    Version:  5.3.2
 Severity:  normal                       |   Keywords:
  Focuses:  ui, javascript, performance  |
-----------------------------------------+-----------------------------
 Hello. I have noticed that if someone enqueues jquery-ui-autocomplete, it
 doesn't only load jquery-ui-core but all the jquery-ui components (like
 widget, datepicker, slider, even polyfill) (bringing extra JS load)

 Is this normal? It should only enqueue the necessary scripts.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49312>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list