[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
Tue Oct 8 17:33:12 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:  accepted
 Priority:  normal                   |   Milestone:  5.3
Component:  Toolbar                  |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------

Comment (by azaozz):

 Sorry I couldn't review this earlier (been sick for a while). The reason
 the admin-bar doesn't have jQuery as dependency is that (at the time) some
 themes were/are adding their own versions of jQuery on the front-end, and
 it becomes "big mess" when er also add the version from core.

 The "mess" mostly relates to jQuery plugins that may pick and use the
 wrong jQuery version, and fail.

 That's why the admin bar js has a fall-back mode to work without jQuery.
 Ideally this mode should be fixed and not jQuery added in all cases.

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


More information about the wp-trac mailing list