• Resolved MouseClicks

    (@mouseclicks)


    Hi there,

    I would find it EXTREMELY helpful if the current WordPress version in use was displayed in the admin. It’s nice that it tells you to “Get version X” but to not be able to tell without digging into files what version a site is currently using seems like something that should just be there for reference.

    Thank you for considering this.

    Deb

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Checks on live installation and test installation*

    That’s a good idea and already happens. The version does get displayed in the admin dashboard exactly for reference. ??

    Screen Shot

    Screen Shot

    In addition to that widget if you scroll down the footer says the version number in the lower right hand corner.

    Thread Starter MouseClicks

    (@mouseclicks)

    Then why do all the admins I have say “Get version X” in the lower right corner if it’s already running the version it’s telling me to get in the example you gave?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I don’t know. That box I copied the images from is via the default “At a Glance” widget. When you install WordPress it is automatically enabled.

    Edit: Lower left corner? Whoops, I do know. When there’s no update you get the version. When there is an update you get the notice of the new version. The “At a Glance” widget should tell you what you are running but I’d want to double check what it says when there is a version upgrade.

    For that to not display something or someone has to turn it off.

    *Looks closer*

    Now THAT’S interesting. The Network dashboard on my multisite does not have that “At a Glance” as an option. Is that where you mean? All of my sites in my network have that enables and displaying.

    Moderator cubecolour

    (@numeeja)

    It is possible display the current version in the admin footer as part of the update message by adding the following code to a custom functions plugin, or to your child theme’s functions.php

    class show_current_version {
    	function __construct() {
    		add_action('admin_init', array($this, 'admin_init'));
    	}
    
    	function admin_init() {
    		add_filter('update_footer', array($this, 'update_footer'));
    	}
    
    	function update_footer($text) {
    		global $wp_version;
    		if ( preg_match('|update\-core\.php|', $text) ) {
    			$text .= ' (Current Version ' . $wp_version . ')';
    		}
    
    	return $text;
    	}
    }
    
    $show_current_version = new show_current_version();
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Current Version PLEASE’ is closed to new replies.