5

How do I determine the versions of jQuery that shipped with each version of WordPress since like version 2.7? Was there a log kept somewhere on this? Because as a plugin developer, I may need to rely on a function that might not work in older versions of WordPress.

Volomike
  • 22,513
  • 20
  • 109
  • 197
  • possible duplicate http://stackoverflow.com/questions/1073423/jquery-plugin-check-version – Reigel May 25 '10 at 02:35
  • No, not exactly. Am looking simply for a chart where someone may have recorded which versions of WP come with which versions of jQuery already -- a shortcut to having to download like 8 installs of old WP and doing my own tests. – Volomike May 25 '10 at 07:12

2 Answers2

4

You can query the version of jQuery:

// Returns string Ex: "1.3.1"
$().jquery;

// Also returns string Ex: "1.3.1"
jQuery.fn.jquery;
cletus
  • 599,013
  • 161
  • 897
  • 938
  • Well, yeah, but was looking for a chart where hopefully someone already recorded this. Perhaps there is not a chart out there? – Volomike May 25 '10 at 02:32
2

A very good table can be queried from the Core Track:

30 results, from jquery 1.5.2 to 1.10.4

brasofilo
  • 24,660
  • 15
  • 89
  • 174