[wp-trac] [WordPress Trac] #37110: Update to jQuery 3.*

WordPress Trac noreply at wordpress.org
Fri Oct 26 08:26:39 UTC 2018


#37110: Update to jQuery 3.*
-------------------------------------------------+-------------------------
 Reporter:  jorbin                               |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  External Libraries                   |     Version:
 Severity:  critical                             |  Resolution:
 Keywords:  early has-patch needs-testing        |     Focuses:  javascript
  needs-dev-note needs-screenshots needs-        |
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by remzicavdar):

 Guys, if we upgrade to jQuery, we should also do this in the footer or in
 the header with defer.
 Using document ready is necessary for this in your scripts. See my error
 report: https://core.trac.wordpress.org/ticket/45130


 {{{
 //I don't know what the difference is between jQuery.noConflict(); and
 $.noConflict();


 jQuery(function( $ ) {
    // $ Works! You can test it with next line if you like
    // console.log($);
 });
 }}}

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


More information about the wp-trac mailing list