[wp-trac] [WordPress Trac] #47069: Twenty Nineteen: the admin bar on the front end has reduced functionalities and bugs due to jQuery not being used

WordPress Trac noreply at wordpress.org
Mon Nov 18 22:00:24 UTC 2019


#47069: Twenty Nineteen: the admin bar on the front end has reduced functionalities
and bugs due to jQuery not being used
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.3.1
Component:  Toolbar                  |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots early    |     Focuses:  accessibility,
  needs-patch                        |  javascript
-------------------------------------+-------------------------------------

Comment (by azaozz):

 Looking at 47069.9.diff, works pretty well in the admin bar.

 We cannot remove the old jQuery hoverIntent.js. It is likely used in a lot
 of plugins and expected to always be there as it is loaded on all wp-admin
 screens. The options there are:

 1. Add a jQuery wrapper for the new hoverintent.js (and load it with the
 old `hoverintent` script-handle so it stays compatible).
 2. Keep the old hoverIntent.js and add the new, no-dependencies one.

 Thinking that perhaps the second makes more sense as there will be no
 eventual compatibility issues from adding a wrapper.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47069#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list