Changes between Initial Version and Version 1 of Ticket #45130, comment 8
- Timestamp:
- 10/25/2018 08:26:24 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45130, comment 8
initial v1 1 1 If we upgrade jQuery we could do something like this: 2 2 {{{ 3 jQuery = jQuery.noConflict(); // I think we are already using this somewhere4 5 3 jQuery(function( $ ) { 6 4 // $ Works! You can test it with next line if you like … … 12 10 13 11 {{{ 14 jQuery = jQuery.noConflict(); // I think we are already using this somewhere12 jQuery = jQuery.noConflict(); // We are already doing this at the end of the jquery file: jQuery.noConflict(); 15 13 16 14 jQuery(document).ready(function($) { … … 21 19 22 20 Shall I check/test this? I could first test with the old jQuery? 21 22 Edit: I see this is already done at the end in the jQuery file: wp-includes\js\jquery\jquery.js 23 {{{ 24 jQuery.noConflict(); 25 }}} 26 In jQuery 3 there's no need to put this. I have updated my examples.