-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jQuery.type is deprecated #4064
Comments
JQMIGRATE: jQuery.type() is deprecated Solution: Review code that uses jQuery.type() and use a type check that is appropriate for the situation. For example. if the code expects a plain function, check for typeof arg === "function". $.type(responsiveSettings) === 'array' change to typeof responsiveSettings === 'array' |
Typeof returns So it will not be possible to distinguish between arrays and other objects that way. I am not sure if that's a problem. |
Has anyone successfully modified slick.min.js to eliminate the deprecated JQuery.type? My js knowledge isn't sufficient to perform the change for each case. For example, I don't know how to change
|
There are some PRs to address this. The most recent one was approved 6 months ago though and has been sitting stagnant since. #4221 |
jQuery.type is deprecated on slick.min.js
Can you please upgrade slick to the latest jQuery version.. We have numerous Slick Sliders in a theme in the WordPress Repo.
WordPress is rolling out the 3.5.1 in march.
The text was updated successfully, but these errors were encountered: