How to find your WordPress version

It’s essential to keep your WordPress site secure. How do you check which version of WordPress you are using? There are a couple of methods.

1) WordPress Admin Dashboard

Log in to your WordPress admin area and go to the dashboard. You can find the WordPress version in the “At a glance” summary box.

WordPress Admin - At a glance
At a glance

2) Page source meta tag

Most WordPress websites contain a HTML meta tag, although some security plug-ins will disable this behaviour. Simply view the page source and search for “generator”.


Gernerator meta tag
Gernerator meta tag

You can remove the generator meta tag by added this to your functions.php file remove_action(‘wp_head’, ‘wp_generator’);

3) wp-includes version.php file

This is my preferred method. It’s easier to use grep from the command line to scan all sites on a server. You can find the file here /wp-includes/version.php .

Use this from the command line to quickly scan all sites find . -name ‘version.php’ -path ‘*wp-includes/*’ -print -exec grep ‘$wp_version =’ {} \; -exec echo ” \; . Run inside your /var/www folder or other location .



You May Also Like