[wp-trac] [WordPress Trac] #52972: WordPress background report jQuery error

WordPress Trac noreply at wordpress.org
Fri Apr 23 08:08:56 UTC 2021


#52972: WordPress background report jQuery error
--------------------------+------------------------------
 Reporter:  jack960330    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+------------------------------

Comment (by Clorith):

 Hiya,

 Looking at your original issue, something appears to have modified the
 load order on your site, as jQuery is a dependency of the jQuery UI
 library (that those files causing errors originate with).

 If you need help troubleshooting or resolving this, I would recommend
 creating a [https://wordpress.org/support/forums support forum post],
 where our support volunteers can help you out.

 As for your followup on `noConflict`; this problem would not be resolved
 by not using `noConflict`, as that is a feature that makes jQuery not
 automatically bind to the `$` shortcut.

 The reason for core explicitly declaring `noConflict` is that multiple
 libraries use the `$` shortcut, and binding it to WordPress directly has
 the potential to break plugins or themes.

 Related #16494

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


More information about the wp-trac mailing list