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?

Topic wordpress-version updates Wordpress

Category Web


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.


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.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.