Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Given a copy of WordPress installation, how do I find out what version it is from the source code?
You can find the version in wp-includes/version.php, the $wp_version variable.
It can also be found in the readme.html file in the root of the WordPress folder.
open your site and in meta tag with name="generator"
<meta name="generator" content="WordPress 3.5.2" />
Required, but never shown