Where in the backend can I get information about the current WordPress version I am using?

In the dashboard backend admin area, I only see Update to WordPress <Latest Version> in the updates section, and at the bottom, is the Get Version <Latest Version> link, but nowhere does it tell me what version of WordPress I am using in the backend anywhere, before deciding to update to the latest version.

Where can I get this information?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

It’s not right in front of you, but you can obtain this information from the back end.

Go to
Tools -> Site Health -> Click on Info tab.

Clicking on the first drop-down (‘WordPress’) will get you the current version and the latest.

Method 2

In functions.php of your child theme, insert the following code:

if(is_admin()) {
    function wpse_version_check() {
        global $wp_version;
        echo '<div>Current version of WordPress is <strong>' . $wp_version . '</strong></div>';
    }     
    
    function wpse_add_dashboard_widgets() {
        wp_add_dashboard_widget(
            'wp_version',
            'WP Version',
            'wpse_version_check'
        );  
    }
    add_action('wp_dashboard_setup', 'wpse_add_dashboard_widgets');
}

This will create dashboard widget WP Version.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x