How can I detect the current WordPress version?
Log in to your admin Dashboard and scroll to the bottom of the page, you’ll find your version number on the rightmost spot of the footer.
Or you can view the source of one of the pages of your blog and look for the meta generator tag:
<meta name="generator" content="WordPress 2.9.1" />