Thanks for reporting this important issue.~ and thanks for bringing this to my attention Cristián.The construction of this link is designed to pull the latest release of jQuery in the 1.x.x series. Although this is a very cool feature provided by the Google API; with WordPress and WordPress plugins ( including s2Member ), we expect to see the version of jQuery that was shipped with WordPress, or at least a version within the same series.
So for instance, this URL you have now pulls jQuery v1.6
( jQuery v1.6 is bleeding edge, and could raise conflicts with plugins running on WP v3.1 ).
- Code: Select all
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
If you're going to employ a script like this, I would suggest this alternative, and then update the minor release number to match what WordPress ships with.
- Code: Select all
http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js
( this will pull jQuery v1.4.4, the latest in the 1.4 series )WordPress v3.1 ships with jQuery v1.4.4.
In either case,
I thank you VERY much for reporting this important issue, and we'll be sure to test s2Member against the latest version of jQuery before the next release.
@TODO: test against jQuery v1.5.x and jQuery v1.6.x.