Soil 3.7.1, what does the “Enable jQuery noConflict” do exactly, and how do I use it?
See https://github.com/roots/soil/issues/155#issuecomment-216570032 for some background info. You don’t do anything to use it. It’s a stupid thing that WordPress core does.
Awesome, the no conflict ready code below is no longer necessary?
(function($) { })(jQuery);
If so, does that work for both ‘soil-jquery-cdn’ and normally enqueued jquery?
That is not “no conflict code”, that is a document ready.
Are you experiencing issues since the update?
Sorry, I didn’t mean to refer to that code as the “no conflict” code. What I mean to say is that, I’ve always had to use this version of document ready
(function($) { })(jQuery);
instead of
$(document).ready(function() { });
because Wordpress forced no conflict mode on enqueued jquery. Soil is now enabling no conflict on CDN as well? So, I need to stick with the first document ready regardless of enqueue or CDN? Or, is it totally opposite?
Sorry, I read the Github issue, but still trying to wrap my head around what is happening exactly.