How to Check Your WordPress Version (5 Ways)

Magnifying glass checking the WordPress version package

To check your WordPress version, log in and look at the At a Glance box on the Dashboard, or go to Dashboard > Updates. Both show the exact version you are running.

Below are those methods and three more for when you cannot reach the dashboard, plus how to read the version of a site you do not manage and why hiding your version is not a substitute for updating.

Method 1: The Dashboard

Log in and open Dashboard > Home.

The At a Glance box shows the WordPress version and your active theme.

WordPress 7.1.3 in the lab dashboard At a Glance panel
The lab dashboard shows the installed WordPress version. Click to view full size.

The version also appears at the bottom right of most admin screens. If an update is available, you see a link to update instead.

Method 2: The Updates Screen

Go to Dashboard > Updates.

The page shows your current version and whether a newer one is available. If you are up to date, you see a Re-install button instead of an update button.

Current WordPress version and reinstall button on the lab Updates screen
The Updates screen shows the installed version. You do not need to reinstall it to check. Click to view full size.

Method 3: Site Health

Go to Tools > Site Health > Info and open the WordPress section. Read the Version row. PHP details are in the separate Server section, and plugin details are under Active Plugins. These sections show information; they do not change your settings. See the official Site Health guide for the other fields.

Expanded WordPress section in Site Health showing version 7.1.3 on the local lab
Site Health lists the WordPress version in its WordPress section. Click to view full size.

These three admin examples were checked on the dedicated LocalWP lab running WordPress 7.1.3. Dashboard, Updates and Site Health showed the same version as the lab’s wp-includes/version.php file. Your installed version may differ. No update or reinstall is needed just to read it.

Method 4: The version.php File

If you cannot log in, check the file that stores the version. Open your host’s file manager or connect with SFTP, and go to your site’s folder, often public_html.

Click the "File Manager" Option
Click the “File Manager” Option
Open the "public_html" File
Open the “public_html” File

Open the wp-includes folder and find version.php.

Search for the "version.php" File
Search for the “version.php” File

View the file without changing anything. The line $wp_version = '…'; shows the version.

Check WordPress Version
Check WordPress Version

Method 5: WP-CLI

If your host offers SSH and WP-CLI, run this in your site’s folder:

wp core version

Checking the Version of Another Site

For a site you do not manage, you can look for clues in its public code: right-click the page, choose View page source and search for generator or ver=. Treat what you find as a hint, not proof. Many sites remove the generator tag, and the ver= numbers on stylesheets and scripts are often plugin or theme versions rather than the WordPress version. Online scanners rely on the same clues and have the same limits.

Open the Search Bar and Locate the "?ver=" in the Source Code
Open the Search Bar and Locate the “?ver=” in the Source Code

Should You Hide Your WordPress Version?

Hiding the version number does not make an outdated site safe. Automated attacks usually try known exploits against every site they find, whatever version it claims to run. The protection that works is keeping WordPress, plugins and themes up to date.

If you still want to remove the generator tag, for example for tidiness, many security and SEO plugins include an option for it, or you can add this line to a child theme or code snippets plugin:

remove_action( 'wp_head', 'wp_generator' );

Copy code from a plain-text source. Code copied from some web pages contains curly quotes, which break PHP and can take your site down.

How WordPress Versions Work

WordPress version numbers have three parts. A change in the first two numbers, such as 6.8 to 6.9, is a major release with new features; WordPress usually ships two or three a year. A change in the third number, such as 6.9.1, is a maintenance or security release, and most sites install these automatically.

You can see every release and its date on the official WordPress releases page.

Before a major update, take a backup and update plugins and themes first. Check your PHP version too, because newer WordPress releases need a supported PHP version; see my guide to updating PHP in WordPress. If you would rather have someone handle updates for you, take a look at my maintenance plans.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to our Monthly Newsletter

Get monthly updates of WordPress tips, tricks, and tutorials in your email.

Thanks. You have successfully subscribed.