Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  WordPress FAQ  >  How to determine the WordPress Version?
Top Scroll

How to determine the WordPress Version?

 2 min

The article contains two methods for determining the current WordPress version.

Method #1 –

Using Administration Interface

Identifying the WordPress version using the administration interface is the easiest way. You can do so by following the procedure mentioned :

i) At the bottom of every page in the administration interface, you can see the WordPress version. The current version that you are using is shown by WordPress only.

ii) The newer WordPress version is displayed by default, in the At a Glance box on the main dashboard page, along with the current theme.

Method #2 –

Checking The Version.PHP file

In case the administration interface is not available or you are not able to log in, still, you can determine the WordPress version by checking the version.php file.

Perform the following steps to do so :

i) In the directory where you have installed WordPress, go to the wp-includes directory.

You can use any of the ways to do it –

  • By using SSH from the command line.
  • By using the file manager from cPanel
  • By using FTP client

ii) Now in the wp-includes directory, open the version.php file in a text editor or viewer.

iii) Identify the $wp_version variable. This variable’ value contains the correct version of WordPress.

Like example: the following value indicates that WordPress version 5.4 is installed :

$wp_version = '5.4';

Also Read :

1) Fixing the “MySQL Server Has Gone Away” Error in WordPress

2) Everything You Need to Know About WordPress Salts

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.