In this article, we’ll show you how to figure out what WordPress version you’re using.
There are two methods for detecting the current WordPress version in this article.
How to Use the Administration Interface
The simplest method for determining the WordPress version is to use the management interface. You can do so by following the steps outlined below:
- The WordPress version is displayed at the bottom of every page in the administration interface. WordPress only displays the current version you’re using.
- The newest WordPress version, together with the current theme, is displayed by default in the At a Glance box on the main dashboard page.
Taking a look at the Version.PHP file
Even if the administration interface is unavailable or you are unable to log in, the WordPress version may be determined by looking at the version.php file.
To do so, follow the instructions below:
- Navigate to the wp-includes directory in the WordPress installation directory.
You can do it in any of the ways listed –
SSH can be used from the command line.
By utilizing the cPanel file manager.
Using an FTP client.
- Open the version.php file in a text editor or viewer in the wp-includes directory.
- Determine the value of the $wp version variable. The value of this variable is the correct WordPress version.
For instance, the following value denotes the presence of WordPress version 5.4:
We hope you now have a clear idea of how to find out which version of WordPress you have.
Knowing your WordPress version is important to maintaining the security of your website. Additionally, you can hide your WordPress version for added protection that also helps you protect your site from potential vulnerabilities.