Closed KevinBatdorf closed 6 years ago
Replying a year later. Better late than never? Probably to?
If you're using a non-WordPress-default version of jQuery for your site you could run into this error, as andSelf()
is deprecated in newer versions.
just replace andSelf by addBack that's it. andSelf() function has been deprecated and is now an alias for .addBack(), which should be used with jQuery 1.8 and later.
Uncaught TypeError: jQuery(...).removeAttr(...).nextUntil(...).andSelf is not a function
Happens on custom admin pages. It's from this code: