camptix icon indicating copy to clipboard operation
camptix copied to clipboard

Camptix Stripe bug-fix (.unique() vs .uniqueSort())

Open EliW opened this issue 6 years ago • 1 comments

This was a PR I'd submitted to the original stripe plugin, but never got accepted there before the code was merged here into the main camptix:

The Stripe plugin uses jQuery.uniqueSort(), however, that function only exists in jQuery 3.x which many themes and even WordPress itself doesn't use or include. Changing this to just .unique() which is aliased in 3.x and works in 2.x as well for greater compatibility. Otherwise lots of people will end up getting failures when trying to use Stripe.

EliW avatar Oct 08 '18 14:10 EliW

ping ... Just realizing that it's been months and this hasn't been pulled in. Seems like a pretty important fix?

EliW avatar Apr 11 '19 21:04 EliW