[wp-hackers] How to determine which WordPress version is running ?
per at soderlind.no
Sat Jan 20 16:36:50 GMT 2007
> I find this to be best:
> global $wp_db_version;
> if ( 3664 <= $wp_db_version ) die('Your version is too low.'); //
> Change the
> "3664" to whatever revision you wanna check for
> > Per Soderlind wrote:
> > > In my plugin, I need to determine which WordPress version it's
> > on.
> > > What is the best method for doing this ?
Is there a list showing the revision numbers vs wp version ?
More information about the wp-hackers