Opened 8 years ago
Closed 8 years ago
#39784 closed enhancement (duplicate)
Add jquery dependency to admin-bar.js
Reported by: | rellect | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7.2 |
Component: | Toolbar | Keywords: | has-patch |
Focuses: | Cc: |
Description
The admin-bar.js contains two implementations, one in vanilla js and the other in jquery.
I'm suggesting adding jquery dependency to admin-bar.js, for two reasons:
- Looking at the recent changes in the file, only the jquery implementation is maintained.
- It's common practice to move jquery (and other js files) to footer, causing admin-bar.js to be loaded before jquery is available.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @rellect, thanks for the ticket!
We're already tracking this enhancement in #19979.