[wp-hackers] How to determine which WordPress version is running ?

Viper007Bond viper at viper007bond.com
Tue Jan 23 06:14:39 GMT 2007


Okay, my revised suggestion:

global $wp_version;
if ( version_compare($wp_version, '2.1') == -1 ) die('Your version is too
low!');

-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list