Knowledge Base
MilesWeb / WordPress FAQ

How to determine the WordPress Version?

Approx. read time : 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 :

Also Read :

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

2) Everything You Need to Know About WordPress Salts

Sonam Wagh
With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.
Need help? We’re always here for you.
DON'T LOSE YOUR FREE TRIAL
OFFER EXPIRES IN
04
min
59
sec
Who is your preferred cloud partner?
Let us know and we’ll manage it for you
Amazon Cloud
Digital Ocean Cloud
No, thank you