WooCommerce Wishlists Version 2.3.21 Changelog

* Fix: On a variable product, clicking "Add to wishlist" before selecting a variation threw a JavaScript error (TypeError: $form.find is not a function) rather than doing nothing. The disabled-state guard returned false, which stops the click bubbling past the body element but not the second click handler delegated on that same element; that handler then ran before the add-to-cart form had been resolved. Themes that keep the control hidden until a variation is chosen never exposed this – it surfaces on layouts that render the control visible from page load, such as Divi Theme Builder product templates.
* Fix: On a variable product the add-to-wishlist control gave no sign it was inactive until a variation was chosen – it kept full opacity and a pointer cursor, so clicking it appeared to do nothing. It now dims and shows a not-allowed cursor, matching WooCommerce's own disabled add-to-cart button. Only the link version of the control was affected; the button version already inherited this from WooCommerce.
* Tweak: Bumped the asset cache-busting version, which had been left at 2.3.9. Front-end script and style changes since then could be served stale from browser and page caches.

@WPspringcom Facebook
Item added to cart.
0 items - $0