v2.1 update exposes some JS issues in theme

[ad_1]

Normally, WordPress isn’t happy with:

$(document).ready(function() {

which can easily be replaced in your theme files with:

jQuery(document).ready(function($) {

For whatever reason, many vendor files in the theme functioned quite well before as the first declaration. Once I updated to v2.1, they all suddenly broke and had to be updated. Not a huge deal, but confusing as to why we had no problems for a few years, and this plugin update today exposed this issue.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer