Check Wordpress Version in a mysql database

I'm a wordpress designer & developer and I want to know if if it's possible to check my wordpress version in tables of mysql database to print it in an administration panel page ?

Answers


Should be in wp_options table, the field is called db_version. So, yes, it's possible.

Make sure to consult the codex, as the db_version looks different from the wp version. for instance:

For Version 3.1, the database version (db_version in wp_options) changed to 17056, and the Trac revision was 17485.

Alternatively, you can find the file in the wordpress installation, inside the folder "wp-incudes". The file is called version.php and defines a global variable like so:

/**
 * The WordPress version string
 *
 * @global string $wp_version
 */
$wp_version = '3.7.1';

Need Your Help

Webapp2 Sessions in Google app engine

python google-app-engine session webapp2

I just figured out how to implement the webapp2 sessions in my Google app engine project using python. The code is below. What I would like to know is what is the best approach to go about it? What I

Android dataBinding - How to get resource id of a View in xml

android data-binding

In Android Studio my data binding itself works and is set up fine. I have a boolean defined like this: