How do I find the version of WordPress I have from the source code?

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.

Leave a Comment